You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by haipeng du <ha...@gmail.com> on 2005/10/10 23:35:06 UTC
how to search lucene with "great than" query
I want to search lucene with some values are greater than specified value.
How could I create a query?
Thanks a lot.
--
Haipeng Du
Software Engineer
Comphealth,
Salt Lake City
Re: how to search lucene with "great than" query
Posted by Yonik Seeley <ys...@gmail.com>.
Use an open-ended range query by leaving one endpoint null of a RangeQuery
or RangeFilter. The current QueryParser API doesn't have syntax to support
this so you have to use the Java API.
-Yonik
Now hiring -- http://tinyurl.com/7m67g
On 10/10/05, haipeng du <ha...@gmail.com> wrote:
>
> I want to search lucene with some values are greater than specified value.
> How could I create a query?
> Thanks a lot.
>
> --
> Haipeng Du
> Software Engineer
> Comphealth,
> Salt Lake City
>
>