lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karsten F." <>
Subject Re: Index types
Date Mon, 01 Sep 2008 08:29:19 GMT

Hi John,

I am not sure about the way Solr implements range query.
But it looks like, that Solr is using
which itself is using

So Solr do not rewrite the query to a large Boolean SHOULD, but it is
reading all terms for the "range"-Field.
This could be slow. 
If the RangeFilter is used many time a CachingWrapperFilter would speed up
the search.
You also could (try to) read the terms from memory instead of hard disk.
Because a timestamp is only a long = 64bit, a appropriate solution would
also to store the timestamps in main memory for a fast RangeFilter

Best regards

John Patterson wrote:
> Does Solr's range impementation use the large Boolean SHOULD queries?

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message