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 internally lucene resolves everything the
same
way. So maybe the problem is with parsing the dates and traslating
it to the
internal value?
Any suggestion?
Range query is highly dependent on the total number of unique terms
covered by the range. If you are indexing dates with very high
precision (e.g., milliseconds), this can consist of ridiculous numbers
of terms.
Try rounding the dates to something more granular when indexing.
-Mike