lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Avoiding sort by date
Date Mon, 16 Oct 2006 03:32:26 GMT
On 10/12/06, <> wrote:
> Does the Sort function create some kind of internal cache?

Yes, it's called the FieldCache, and there is a cache with a weak
reference to the index reader as a key.  As long as there is a
reference to the index reader (even after close() has been called) the
cache data will exist.

-Yonik Solr, the open-source Lucene search server

> Observing the heap, it seems that a full garbage collection after calling
> IndexSearcher.close() still leaves a lot of memory occupied.

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

View raw message