lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: How to search between dates?
Date Sun, 04 Sep 2005 07:41:31 GMT

: How do I combine two queries - one made by the QueryParser and the
: programmatically made RangeQuery?

you could make them both children of a single BooleanQuery, but as long as
you're going to write a little java code to put them together -- why not
use a DateFilter instead?'s more efficient then a RangeQuery, it doesn't have the same
"TooManyCLauses" limitations as a RangeQuery, and it would artificially
affect the score of your results.


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

View raw message