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/elasticsearch/rest-apis/retrievers.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -263,19 +263,19 @@ Either `query` or `retrievers` must exclusively be specified.
263
263
Combining `query` and `retrievers` is not supported.
264
264
::::
265
265
266
-
`query`
266
+
`query` {applies_to}`stack: ga 9.1`
267
267
: (Optional, String)
268
268
269
269
The query to use when using the [multi-field query format](#multi-field-query-format).
270
270
271
-
`fields`
271
+
`fields` {applies_to}`stack: ga 9.1`
272
272
: (Optional, array of strings)
273
273
274
274
The fields to query when using the [multi-field query format](#multi-field-query-format).
275
275
Fields can include boost values using the `^` notation (e.g., `"field^2"`).
276
276
If not specified, uses the index's default fields from the `index.query.default_field` index setting, which is `*` by default.
277
277
278
-
`normalizer`
278
+
`normalizer` {applies_to}`stack: ga 9.1`
279
279
: (Optional, String)
280
280
281
281
The normalizer to use when using the [multi-field query format](#multi-field-query-format).
@@ -345,12 +345,12 @@ Either `query` or `retrievers` must exclusively be specified.
345
345
Combining `query` and `retrievers` is not supported.
346
346
::::
347
347
348
-
`query`
348
+
`query` {applies_to}`stack: ga 9.1`
349
349
: (Optional, String)
350
350
351
351
The query to use when using the [multi-field query format](#multi-field-query-format).
352
352
353
-
`fields`
353
+
`fields` {applies_to}`stack: ga 9.1`
354
354
: (Optional, array of strings)
355
355
356
356
The fields to query when using the [multi-field query format](#multi-field-query-format).
@@ -1021,6 +1021,9 @@ GET /restaurants/_search
1021
1021
```
1022
1022
1023
1023
## Multi-field query format [multi-field-query-format]
1024
+
```yaml {applies_to}
1025
+
stack: ga 9.1
1026
+
```
1024
1027
1025
1028
The `linear` and `rrf` retrievers support a multi-field query format that provides a simplified way to define searches across multiple fields without explicitly specifying inner retrievers.
1026
1029
This format automatically generates appropriate inner retrievers based on the field types and query parameters.
0 commit comments