lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Query for "Bigger then" specific term
Date Tue, 11 Mar 2008 18:59:58 GMT
I don't think there is anything more efficient than that....but I could be wrong.
If you can, consider grouping > 10 values in a small and discrete set of buckets (that
you can then OR), if you are concerned with a large disjunction query.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
From: Eran Sevi <eransevi@gmail.com>
To: java-user@lucene.apache.org
Sent: Tuesday, March 11, 2008 12:29:21 PM
Subject: Query for "Bigger then" specific term

Hi,

What's the best way to query Lucene for a "bigger then" term, for example "
value > 10".

I know there's a range query where I can use a large upper bound but maybe
there's something more efficient (instead of Lucene transfrom to query to
thousands of OR queries).

Thanks,
Eran.




---------------------------------------------------------------------
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