You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<1> Document 3 scores higher because it contains both `brown` and `dog`.
54
+
<1> 文档 3 会比文档 1 有更高评分是因为它同时包含 `brown` 和 `dog` 。
64
55
65
-
==== Score Calculation
56
+
==== 评分计算
66
57
67
-
The `bool` query calculates((("relevance scores", "calculation in bool queries")))((("bool query", "score calculation"))) the relevance `_score` for each document by adding
68
-
together the `_score` from all of the matching `must` and `should` clauses,
69
-
and then dividing by the total number of `must` and `should` clauses.
The `must_not` clauses do not affect ((("must_not clause", "in bool queries")))the score; their only purpose is to
72
-
exclude documents that might otherwise have been included.
60
+
`must_not` 语句不会影响评分;((("must_not clause", "in bool queries")))它的作用只是将不相关的文档排除。
73
61
74
-
==== Controlling Precision
62
+
==== 控制精度
75
63
76
-
All the `must` clauses must match, and all the `must_not` clauses must not
77
-
match, but how many `should` clauses((("bool query", "controlling precision")))((("full text search", "combining queries", "controlling precision")))((("precision", "controlling for bool query"))) should match? By default, none of the `should` clauses are required to match, with one
78
-
exception: if there are no `must` clauses, then at least one `should` clause
0 commit comments