Re: Using field cache on real time index

2010-06-08 Thread Michael McCandless
When you use .reopen() from an existing reader, the new reader will share sub-readers with the prior one, and the FieldCache will also share cache entries for those sub readers, with the prior one. Still, remember that the incrementality you'll see is in proportion to the size of the new segments.

Using field cache on real time index

2010-06-07 Thread Woolf, Ross
I'm looking for some clarification on the use of field cache in a real time index situation. We are using Lucene in a real time fashion, but we update our reader via IndexReader.reopen() rather than using the IndexWriter.getReader(); After opening a new reader the old reader is closed. In the