1
0
Эх сурвалжийг харах

Docs: Additional info about _score calculation

Description taken from http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/multi-query-strings.html / 110_Multi_Field_Search/05_Multiple_query_strings.asciidoc

Closes #8635
pmamat 11 жил өмнө
parent
commit
9e2eaeece4

+ 4 - 0
docs/reference/query-dsl/queries/bool-query.asciidoc

@@ -27,6 +27,10 @@ The bool query also supports `disable_coord` parameter (defaults to
 on the fraction of all query terms that a document contains. See Lucene
 on the fraction of all query terms that a document contains. See Lucene
 `BooleanQuery` for more details.
 `BooleanQuery` for more details.
 
 
+The `bool` query takes a _more-matches-is-better_ approach, so the score from
+each matching `must` or `should` clause will be added together to provide the 
+final `_score` for each document.
+
 [source,js]
 [source,js]
 --------------------------------------------------
 --------------------------------------------------
 {
 {