lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Chhabra <kapil.chha...@naukri.com>
Subject Re: how to make RangeQuery action as > < != operators?
Date Thu, 18 Jan 2007 10:32:52 GMT
In my case, I know the upper and lower limits of my field.
So it becomes easy for me to run such queries.

eg.

*>  *
RangeQuery(value, upperLimit, inc)

*<*
RangeQuery(lowerLimit, value, inc)

*!=*
Use the in this case.
eg:
-field:value

Regards,
kapilChhabra

David wrote:
> Hi all:
>    I need to make range query actions as > < and != operators, The
> RangeQuery class just support RangeQuery(begin, end, inclusive), but 
> How to
> support > < and != ?
>
> Appreciate your help!
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message