Re: Date range performance

2008-04-08 Thread Jonathan Ariel
Ok. Just to give some feedback. I reindexed with less precision as you told me and it's working really fast. Thanks for your help! Jonathan On Fri, Apr 4, 2008 at 6:02 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : Looking into the code it seems like a Lucene problem, more than Solr. It >

Re: Date range performance

2008-04-04 Thread Chris Hostetter
: Looking into the code it seems like a Lucene problem, more than Solr. It is : in the RangeQuery and RangeFilter classes. The problem with changing this to : have a sorted index and than binary search is that you have to sort it, : which is slow. Unless we can store the ordered index somewhere an

Re: Date range performance

2008-04-04 Thread Jonathan Ariel
Thanks! I'll try taking some precision and let you know about the result. Looking into the code it seems like a Lucene problem, more than Solr. It is in the RangeQuery and RangeFilter classes. The problem with changing this to have a sorted index and than binary search is that you have to sort it,

Re: Date range performance

2008-04-04 Thread Mike Klaas
On 3-Apr-08, at 4:24 PM, Jonathan Ariel wrote: Is this depends on the number of documents that matches the query or the number of documents in the index? This aspect is more depedent on the number of terms that the date query translates into. If in a 3 million documents index my query mat

Re: Date range performance

2008-04-03 Thread Norberto Meijome
On Thu, 3 Apr 2008 18:14:56 -0300 "Jonathan Ariel" <[EMAIL PROTECTED]> wrote: > I'm experiencing a really poor performance when using date ranges in solr > query. Is it a know issue? is there any special consideration when using > date ranges? It seems weird because I always thought date dates are

Re: Date range performance

2008-04-03 Thread Jonathan Ariel
Is this depends on the number of documents that matches the query or the number of documents in the index? If in a 3 million documents index my query matches 4, having date with a precision of seconds could slow down the query? On Thu, Apr 3, 2008 at 7:45 PM, Mike Klaas <[EMAIL PROTECTED]> wrote:

Re: Date range performance

2008-04-03 Thread Mike Klaas
On 3-Apr-08, at 2:14 PM, Jonathan Ariel wrote: Hi, I'm experiencing a really poor performance when using date ranges in solr query. Is it a know issue? is there any special consideration when using date ranges? It seems weird because I always thought date dates are translated to strings, so