lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsuraan <tsur...@gmail.com>
Subject Re: Sort memory usage
Date Wed, 03 Feb 2010 21:33:47 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
> case.

Ok, so the cache is tied to the index, and not to any particular
reader.  The actual FieldCacheImpl keeps a mapping from Reader to its
terms, so are the cached values shared just because the Readers
actually wrap the same Indices, so the termDocs for all the readers
are actually almost entirely the same?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message