On Thu, Sep 23, 2010 at 5:44 PM, Jonathan Rochkind <rochk...@jhu.edu> wrote: > The field type in a standard schema.xml that's defined as "integer" is NOT > sortable.
Right - before 1.4. There is no "integer" field type in 1.4 and beyond in the example schema. > You can not sort on this and get what you want. (What's the point > of it even existing then, if it pretty much does the same thing as a string > field? You can sort on it... you just can't do range queries on it because the term order isn't correct for numerics. It's there only for support of legacy lucene indexes that indexed numerics as plain strings. They are now named "pint" for "plain integer" in 1.4 and above. Perhaps we should retain support for that, but remove them from the example schema and only document them somewhere (under "supporting lucene indexed built by other software" or something?) -Yonik http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8