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:
parent
59507cf793
commit
9e2eaeece4
|
@ -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]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue