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 indexes that contain numeric values indexed as Strings. New schemas should use TrieIntField. Field values will sort numerically, but Range Queries (and other features that rely on numeric ranges) will not work as expected: values will be evaluated in unicode String order, not numeric order. I remembered I read this a few weeks ago, today when discussed with coworker, and we looked at the javadoc. It is not what I expected. Thanks again for your prompt reply :) -- View this message in context: http://lucene.472066.n3.nabble.com/Difference-between-IntField-and-TrieIntField-in-Lucene-4-0-tp4032938p4032953.html Sent from the Solr - User mailing list archive at Nabble.com.