lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: NRT and Caching based on IndexReader
Date Mon, 17 May 2010 21:30:33 GMT
On Mon, May 17, 2010 at 5:00 PM, Shay Banon <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message