Grade Solr not working
Enter the title field with the definition
<field name="title" type="text" indexed="true" stored="true"/>
I want to display the results in order in a row, and if it is attached, in order in a second type.
However, when querying with sort=score desc, title asc
results do not necessarily appear in ascending order of the title.
Any suggestions?
Sorting does not work on multi-valued and tokenized fields.
Documentation - Sorting can be performed using the "evaluation" of the document or any field multiValued = "false" indexed = "true" provided that this field is not tokenized (that is: it does not have an analyzer) or uses an analyzer that produces only Single Term (i.e. uses KeywordTokenizer)
http://wiki.apache.org/solr/CommonQueryParameters#sort
Use the string as the field type and copy the header field into the new field.
<field name="title_sort" type="string" indexed="true" stored="false"/> <copyField source="title" dest="title_sort" />