lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Quail <>
Subject Re: Range searches for numbers
Date Thu, 06 May 2004 23:00:55 GMT

> What's the best way to store numbers for range searching?  If someone
> has some info about this I'd love to see it.

I implemented a "LongField" that encodes any +ve or -ve long into a
string that sorts correctly. I posted that class here:

Doing a String range search should be fairly straight forward from
there. Let me know if you have any problems.


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

View raw message