lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Mannix <>
Subject Re: Sort memory usage
Date Wed, 03 Feb 2010 21:09:38 GMT
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


On Wed, Feb 3, 2010 at 1:07 PM, tsuraan <> 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:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message