006 8:32 PM
> To: java-user@lucene.apache.org
> Subject: Re: Avoiding sort by date
>
> On 10/12/06, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Does the Sort function create some kind of internal cache?
>
> Yes, it's called the FieldCache, and there is a cache w
On 10/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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()
:58:50 PM
Subject: Re: Avoiding sort by date
You really should be using the same IndexSearcher for successive
searches. Sorting works best when done with a "warm" searcher. Have
a look at Solr's warming strategy, and consider adopting that in some
way.
Erik
On Oct 12, 200
ED]>
To: java-user@lucene.apache.org
Sent: Thursday, October 12, 2006 12:58:50 PM
Subject: Re: Avoiding sort by date
You really should be using the same IndexSearcher for successive
searches. Sorting works best when done with a "warm" searcher. Have
a look at Solr's warming strategy
You really should be using the same IndexSearcher for successive
searches. Sorting works best when done with a "warm" searcher. Have
a look at Solr's warming strategy, and consider adopting that in some
way.
Erik
On Oct 12, 2006, at 3:04 PM, <[EMAIL PROTECTED]> wrote:
Hi folks