You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ge...@apache.org on 2020/03/13 19:18:34 UTC
[lucene-solr] branch document_sort_tiebreak_logic created (now
e0e642d)
This is an automated email from the ASF dual-hosted git repository.
gerlowskija pushed a change to branch document_sort_tiebreak_logic
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.
at e0e642d Document sort param tiebreak logic
This branch includes the following new commits:
new e0e642d Document sort param tiebreak logic
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[lucene-solr] 01/01: Document sort param tiebreak logic
Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gerlowskija pushed a commit to branch document_sort_tiebreak_logic
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit e0e642d21208011fb85436ec4534a4ac5918a63a
Author: Jason Gerlowski <ja...@lucidworks.com>
AuthorDate: Fri Mar 13 15:17:57 2020 -0400
Document sort param tiebreak logic
---
solr/solr-ref-guide/src/common-query-parameters.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solr-ref-guide/src/common-query-parameters.adoc b/solr/solr-ref-guide/src/common-query-parameters.adoc
index d2915f4..ef0d61e 100644
--- a/solr/solr-ref-guide/src/common-query-parameters.adoc
+++ b/solr/solr-ref-guide/src/common-query-parameters.adoc
@@ -63,7 +63,7 @@ Regarding the sort parameter's arguments:
* A sort ordering must include a field name (or `score` as a pseudo field), followed by whitespace (escaped as + or `%20` in URL strings), followed by a sort direction (`asc` or `desc`).
* Multiple sort orderings can be separated by a comma, using this syntax: `sort=<field name>+<direction>,<field name>+<direction>],...`
-** 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.
+** 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. And so on. If documents tie in all of the specified sort criteria, Solr uses each document's Lucene document ID as the final tie-breaker.
== start Parameter