You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2014/04/03 09:15:56 UTC
[Solr Wiki] Update of "CommonQueryParameters" by ShawnHeisey
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "CommonQueryParameters" page has been changed by ShawnHeisey:
https://wiki.apache.org/solr/CommonQueryParameters?action=diff&rev1=54&rev2=55
Comment:
Expanded information on multiple sort criteria.
1. A sort ordering must include a field name (or the pseudo-field `score`), followed by whitespace (escaped as `+` or `%20` in URL strings), followed by a sort direction (`asc` or `desc`).
1. Multiple sort orderings can be separated by a comma, ie: `sort=<field name>+<direction>[,<field name>+<direction>]...`
+ a. When more than one sort criteria is provided, the second entry will only be used if the first entry results in a tie. If there is a third entry, it will only be used if the first AND second entries are tied. This pattern continues with further entries.
<<Anchor(start)>>