Hi, Rock, Yes, the information about data files and index files are cached in memory as long as the memory is not needed for something else. You can use the same serve that is answering query to write new data records through ibis::part::append. This will ensure that the server knows about the new entries.
Sounds like you have another mechanism for adding new data records. In this case, the server that is answering queries might not notice the new data records. To force this server to check whether the data files (and index files) have changed, call ibis::util::updateDatasets <http://crd-legacy.lbl.gov/~kewu/fastbit/doc/html/namespaceibis_1_1util.html#a7ffee1b9677b62d783bf936f15a5d6ec> Hope this helps. John On 4/10/12 12:32 PM, Rock Wang wrote: > Hi John, > > Is the index cached somehow? we added new data, but the server process > query doesn't return the newly added data, where command line tool does? > after we restarted the server, the data showed up. Is there api to > reload the index? > > Thanks, > Rock _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
