lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armbrust, Daniel C." <>
Subject RE: Searching greater than/less than
Date Wed, 22 May 2002 13:33:20 GMT
As long at the field can be sorted alphabetically, you can build your own

If you put your field in as the same length number, i.e.


Then you can build a filter (that will be mostly cut and paste from the date
filter class)

which will allow you to do less than and greater than operations.


-----Original Message-----
From: Victor Hadianto []
Sent: Tuesday, May 21, 2002 7:54 PM
Subject: Searching greater than/less than

Can I use lucene to search greater than / less than a value in the field? I 
have a field in the document that function as a score. I would need to be 
able to search the index + the option having to say a field > 50


Victor Hadianto

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message