From 9e2eaeece44000bbeb0b28ed760d2c01850bba3f Mon Sep 17 00:00:00 2001 From: pmamat Date: Mon, 24 Nov 2014 16:07:18 +0100 Subject: [PATCH] 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 --- docs/reference/query-dsl/queries/bool-query.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/query-dsl/queries/bool-query.asciidoc b/docs/reference/query-dsl/queries/bool-query.asciidoc index a9b565c80ab..b496796dba2 100644 --- a/docs/reference/query-dsl/queries/bool-query.asciidoc +++ b/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 `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] -------------------------------------------------- {