瀏覽代碼

[DOCS] Clarify scoring for multi_match phrase type (#32672)

The original statement "Runs a match_phrase query on each field and combines the _score from each field." for the phrase type is a but misleading. The phrase type behaves like the best_fields type and does not combine the scores of each fields.
Abdon Pijpelink 7 年之前
父節點
當前提交
32ee6148d2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/reference/query-dsl/multi-match-query.asciidoc

+ 2 - 2
docs/reference/query-dsl/multi-match-query.asciidoc

@@ -83,8 +83,8 @@ parameter, which can be set to:
                     were one big field. Looks for each word in *any*
                     field. See <<type-cross-fields>>.
 
-`phrase`::          Runs a `match_phrase` query on each field and combines
-                    the `_score` from each field.  See <<type-phrase>>.
+`phrase`::          Runs a `match_phrase` query on each field and uses the  `_score` 
+                    from the best field.  See <<type-phrase>>.
 
 `phrase_prefix`::   Runs a `match_phrase_prefix` query on each field and
                     combines the `_score` from each field.  See <<type-phrase>>.