On Mon, May 17, 2010 at 5:00 PM, Shay Banon <kim...@gmail.com> wrote: > I wanted to verify if my understanding is correct. Assuming that I use > NRT, and refresh, say, every 1 second, caching based on IndexReader, such is > what is used in the CachingWrapperFilter is basically useless
No, it's fine. Searching in Lucene is now done per-segment, and so the readers that are passed to Filter.getDocIdSet are the segment readers, not the top-level readers. Caching is now per-segment. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org