lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: sint vs integer
Date Tue, 24 Feb 2009 22:22:38 GMT
On Mon, Feb 23, 2009 at 8:40 PM, Jonathan Haddad <jon@letsgetnuts.com> 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 queries, use "integer".
Sorts work correctly on both because the sort code does not rely on
the index order of the terms.


-Yonik
Lucene/Solr? http://www.lucidimagination.com

Mime
View raw message