RE: Avoiding sort by date

2006-10-16 Thread Graham Stead
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

Re: Avoiding sort by date

2006-10-15 Thread Yonik Seeley
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()

Re: Avoiding sort by date

2006-10-13 Thread Erik Hatcher
: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

Re: Avoiding sort by date

2006-10-12 Thread rayvittal-lists
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

Re: Avoiding sort by date

2006-10-12 Thread Erik Hatcher
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