Thanks very much, Yonik.
I should read the Javadoc of Solr's IntField and TrieIntField.
In Javadoc of Solr's IntField, IntField is marked as legacy field type:
A legacy numeric field type that encodes "Integer" values as simple Strings.
This class should not be used except by people with existing
On Sat, Jan 12, 2013 at 4:56 PM, jefferyyuan wrote:
> Looked at Lucene Javadoc, seems we can run range query, filter, sorting on
> IntField.
> Also seems IntField is also indexed as trie structure.
> Javadoc for IntField:
You're reading the javadoc for *lucene* IntField.
Unfortunately, Lucene has
here is a good post listing the details
http://searchhub.org/2009/05/13/exploring-lucene-and-solrs-trierange-capabilities/
you can also read up Trie data structure on wikipedia.
You should almost always want to use the trieintField
the default int field in solr is solr.TrieIntField
On Sat, J