lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Large Numeric RangeQueries
Date Sun, 11 Dec 2005 07:49:36 GMT
: 10000-150000.  On first inspection I tried a RangeQuery but, of course,
: I quickly discovered that RangeQueries expand to boolean queries that
: enumerate every element in their range.  In my case, it does not seem
: realistic to enumerate all the possible values of the query range as
: RangeQuery tries to do.

1) check out RangeFilter
2) check out ConstantScoreRangeQuery

http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/search/RangeFilter.java
http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreRangeQuery.java


-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message