2 Jun 2009 06:20
search without flush.
Richard Heycock <rgh <at> roughage.com.au>
2009-06-02 04:20:03 GMT
2009-06-02 04:20:03 GMT
Hi, Is it possible to perform a search without flushing the index? I've got an application that updates the index every 4 hours but I need to be able to search the new data fairly quickly after the index is updated. The problem revolves around the fact that the update is often much less than 10 000 documents so it isn't being flushed until quite a bit latter. I realise I can do a flush after the documents have been updated but I was trying to avoid the flush. Is there a way of running a search after I've called add_document but before flush is called? rgh
RSS Feed