On Jan 5, 2006, at 4:42 PM, Urvashi Gadi wrote:
Any pointers on how to handle range queries if the data type is double or float?

There is a bit of this on the wiki:

        <http://wiki.apache.org/jakarta-lucene/SearchNumericalFields>

The main thing to note is that what is indexed in Lucene is text, not numbers per se. It is important to represent the numbers in a lexicographically ordered way for range queries to work.

        Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to