lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "amigo@max3d.com" <am...@max3d.com>
Subject Re: Conditional Operator in Lucene
Date Thu, 09 Dec 2004 04:56:12 GMT
Hi Ramon

If your age field has an integer, you could probably do something like 
"age:[21 to null]" to find anything greater than 21
or perhaps look into the RangeFilter (search this list)?

regards

-pedja


Ramon Aseniero said the following on 12/8/2004 11:13 PM:

>Hi All,
>
> 
>
>Does Lucene support conditional operator? Like retrieve all documents where
>age is greater than 21, how do I compose a query like this in Lucene is
>there a different Query object to use?
>
> 
>
>Thanks,
>
>Ramon
>
>
>  
>

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


Mime
View raw message