Re: Sort Performance Question

2007-03-20 Thread Erik Hatcher
Are you using a cached IndexSearcher such that successive sorts on the same field will be more efficient? Erik On Mar 20, 2007, at 3:39 PM, David Seltzer wrote: Hi All, I have a sort performance question: I have a fairly large index consisting of chunks of full-text

RE: Sort Performance Question

2007-03-20 Thread David Seltzer
Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 4:03 PM To: java-user@lucene.apache.org Subject: Re: Sort Performance Question Are you using a cached IndexSearcher such that successive sorts on the same field will be more efficient? Erik On Mar 20, 2007, at 3:39 PM, David

Re: Sort Performance Question

2007-03-20 Thread Erik Hatcher
the very first search against the index. How would a cached searcher implementation look? -Dave -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 4:03 PM To: java-user@lucene.apache.org Subject: Re: Sort Performance Question Are you using a cached

Re: Sort Performance Question

2007-03-20 Thread Peter W .
Hello, The response time for sorts depends on number of results. If you don't need all documents returned you could use a filter. One idea would be to use DateTools to save your dates as Strings and build your query with FilteredQuery passing in a custom filter to search this field. The filter