lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerlowsk...@apache.org
Subject [lucene-solr] 01/01: Document sort param tiebreak logic
Date Fri, 13 Mar 2020 19:18:35 GMT
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 <jason.gerlowski@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
 


Mime
View raw message