On Mon, Feb 23, 2009 at 8:40 PM, Jonathan Haddad wrote:
> What are the differences between using an sint and an integer, aside
> from the range queries on sint? If I've indexed a field as an
> integer, and I try to sort on it, will there be performance problem?
Nope. If you don't need range que
I believe the difference is that an sint is mangled in such a way that it
will sort properly (i.e. during a range query) where as a regular integer is
not. Since everything is stored as a string in lucene, sorting by numbers
happens lexicographically which may not be the same as an ordinal sort. Th
What are the differences between using an sint and an integer, aside
from the range queries on sint? If I've indexed a field as an
integer, and I try to sort on it, will there be performance problem?
About 1.5 million documents in index.
--
Jonathan Haddad
http://www.rustyrazorblade.com