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: docs/reference/query-languages/query-dsl/query-dsl-combined-fields-query.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,12 +76,10 @@ See [Use synonyms with match query](/reference/query-languages/query-dsl/query-d
76
76
77
77
`operator`
78
78
: (Optional, string) Boolean logic used to interpret text in the `query` value. Valid values are:
79
-
80
-
`or` (Default)
81
-
: For example, a `query` value of `database systems` is interpreted as `database OR systems`.
82
-
83
-
`and`
84
-
: For example, a `query` value of `database systems` is interpreted as `database AND systems`.
79
+
-`or` (Default)
80
+
For example, a `query` value of `database systems` is interpreted as `database OR systems`.
81
+
-`and`
82
+
For example, a `query` value of `database systems` is interpreted as `database AND systems`.
85
83
86
84
87
85
`minimum_should_match`
@@ -90,12 +88,10 @@ See [Use synonyms with match query](/reference/query-languages/query-dsl/query-d
90
88
91
89
`zero_terms_query`
92
90
: (Optional, string) Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter. Valid values are:
93
-
94
-
`none` (Default)
95
-
: No documents are returned if the `analyzer` removes all tokens.
96
-
97
-
`all`
98
-
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
91
+
-`none` (Default)
92
+
No documents are returned if the `analyzer` removes all tokens.
93
+
-`all`
94
+
Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
99
95
100
96
See [Zero terms query](/reference/query-languages/query-dsl/query-dsl-match-query.md#query-dsl-match-query-zero) for an example.
Copy file name to clipboardExpand all lines: docs/reference/query-languages/query-dsl/query-dsl-match-query.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Returns documents that match a provided text, number, date or boolean value. The
11
11
12
12
The `match` query is the standard query for performing a full-text search, including options for fuzzy matching.
13
13
14
-
`Match` will also work against [semantic_text](/reference/elasticsearch/mapping-reference/semantic-text.md) fields.
14
+
`Match` will also work against [semantic_text](/reference/elasticsearch/mapping-reference/semantic-text.md) fields.
15
15
As `semantic_text` does not support lexical text search, `match` queries against `semantic_text` fields will automatically perform the correct semantic search.
16
16
Because of this, options that specifically target lexical search such as `fuzziness` or `analyzer` will be ignored.
17
17
@@ -83,26 +83,20 @@ If the `fuzziness` parameter is not `0`, the `match` query uses a `fuzzy_rewrite
83
83
84
84
`operator`
85
85
: (Optional, string) Boolean logic used to interpret text in the `query` value. Valid values are:
86
-
87
-
`OR` (Default)
88
-
: For example, a `query` value of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
89
-
90
-
`AND`
91
-
: For example, a `query` value of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
92
-
86
+
-`OR` (Default)
87
+
For example, a `query` value of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
88
+
-`AND`
89
+
For example, a `query` value of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
93
90
94
91
`minimum_should_match`
95
92
: (Optional, string) Minimum number of clauses that must match for a document to be returned. See the [`minimum_should_match` parameter](/reference/query-languages/query-dsl/query-dsl-minimum-should-match.md) for valid values and more information.
96
93
97
-
98
94
`zero_terms_query`
99
95
: (Optional, string) Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter. Valid values are:
100
-
101
-
`none` (Default)
102
-
: No documents are returned if the `analyzer` removes all tokens.
103
-
104
-
`all`
105
-
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
96
+
-`none` (Default)
97
+
No documents are returned if the `analyzer` removes all tokens.
98
+
-`all`
99
+
Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
106
100
107
101
See [Zero terms query](#query-dsl-match-query-zero) for an example.
Copy file name to clipboardExpand all lines: docs/reference/query-languages/query-dsl/query-dsl-query-string-query.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,16 +85,12 @@ are only [normalized](/reference/text-analysis/normalizers.md).
85
85
86
86
Boost values are relative to the default value of `1.0`. A boost value between `0` and `1.0` decreases the relevance score. A value greater than `1.0` increases the relevance score.
87
87
88
-
89
88
`default_operator`
90
89
: (Optional, string) Default boolean logic used to interpret text in the query string if no operators are specified. Valid values are:
91
-
92
-
`OR` (Default)
93
-
: For example, a query string of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
94
-
95
-
`AND`
96
-
: For example, a query string of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
97
-
90
+
-`OR` (Default)
91
+
For example, a query string of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
92
+
-`AND`
93
+
For example, a query string of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
98
94
99
95
`enable_position_increments`
100
96
: (Optional, Boolean) If `true`, enable position increments in queries constructed from a `query_string` search. Defaults to `true`.
0 commit comments