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
This commit is contained in:
pmamat 2014-11-24 16:07:18 +01:00 committed by Clinton Gormley
parent 59507cf793
commit 9e2eaeece4
1 changed files with 4 additions and 0 deletions

View File

@ -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]
-------------------------------------------------- --------------------------------------------------
{ {