I think the order needs to be in lowercase. Try "asc" instead of "ASC".
-Michael -----Original Message----- From: PeterKerk [mailto:vettepa...@hotmail.com] Sent: Wednesday, February 13, 2013 7:30 PM To: solr-user@lucene.apache.org Subject: Can't determine Sort Order: 'prijs ASC', pos=5 On this request http://localhost:8983/solr/shop/select/?indent=on&facet=true&sort=prijs%20ASC&start=0&rows=18&fl=id,prijs,prijseenheid,artikelgroep&q=*:*&facet.field=artikelgroep&facet.mincount=1 Can't determine Sort Order: 'prijs ASC', pos=5 Here's my schema.xml <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_dutch.txt"/> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_dutch.txt"/> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> </fieldType> <field name="prijs" type="text" indexed="true" stored="true"/> I then checked this page: http://wiki.apache.org/solr/CommonQueryParameters#sort And saw this: "Sorting can be done on the "score" of the document, or on any multiValued="false" indexed="true"" So I changed this field to int: <field name="prijs" type="int" indexed="true" stored="true" multivalued="false" /> and to "float". But no luck. The field "prijs" is actually a nvarchar in the DB. But the import goes successful so that should not be the problem. What else can this be? -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-determine-Sort-Order-prijs-ASC-pos-5-tp4040361.html Sent from the Solr - User mailing list archive at Nabble.com.