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
Copy file name to clipboardExpand all lines: 100_Full_Text_Search/20_How_match_uses_bool.asciidoc
+7-18Lines changed: 7 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,7 @@
1
-
=== How match Uses bool
1
+
[[_how_match_uses_bool]]
2
+
=== 如何使用布尔匹配
2
3
3
-
By now, you have probably realized that <<match-multi-word,multiword`match`
4
-
queries>> simply wrap((("match query", "use of bool query in multi-word searches")))((("bool query", "use by match query in multi-word searches")))((("full text search", "how match query uses bool query"))) the generated `term` queries in a `bool` query. With the
5
-
default `or` operator, each `term` query is added as a `should` clause, so
6
-
at least one clause must match. These two queries are equivalent:
4
+
目前为止,可能已经意识到<<match-multi-word,多词 `match` 查询>>只是简单地将生成的 `term` 查询包裹((("match query", "use of bool query in multi-word searches")))((("bool query", "use by match query in multi-word searches")))((("full text search", "how match query uses bool query")))在一个 `bool` 查询中。如果使用默认的 `or` 操作符,每个 `term` 查询都被当作 `should` 语句,这样就要求必须至少匹配一条语句。以下两个查询是等价的:
0 commit comments