The FieldCache loads per segment, and the NRT reader is reloading only
new segments from disk, so yes, it's "smarter" about this caching in this
case.

  -jake

On Wed, Feb 3, 2010 at 1:07 PM, tsuraan <tsur...@gmail.com> wrote:

> Is the cache used by sorting on strings separated by reader, or is it
> a global thing?  I'm trying to use the near-realtime search, and I
> have a few indices with a million docs apiece.  If I'm opening a new
> reader every minute, am I going to have every term in every sort field
> read into RAM for each reader that I have open?  Or, is the cache
> smarter about that, and at least the strings are interned, or does it
> work completely differently from that?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to