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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to