Oh brilliant, didn't think of it being possible to configure that way. Had made my own "untokenized" type, so I guess it would be better for me to control datatype this way.
Bonus question (hehe): What if these field values also contain alphanumeric values? E.g. "Alpha, Bravo, Omega, ... " How would this affect the sorting? I guess the TrieIntField is not applicable then. Aleksander Akerø @ Gurusoft AS Mobil: 944 89 054 QR-Code (Kontaktinfo) -----Original Message----- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: 14. august 2012 17:45 To: solr-user@lucene.apache.org Subject: Re: Facet sort numeric values : I'm having a problem with sorting facets. I am using the facet.sort=index : parameter and it works fine for most of the values. ... : Eksample, when sorting "15, 6, 23, 7, 10, 90" it sorts like this: "10, 15, : 23, 6, 7, 90", but what I wanted was "6, 7, 10, 15, 23, 90". what field type are you using? If you use one of the Trie___Field types then the facet values should sort exactly as you describe. <fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/> <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" positionIncrementGap="0"/> <fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/> <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" positionIncrementGap="0"/> -Hoss