Skip to content

Commit a88ab17

Browse files
committed
Add applies to tags
1 parent 5c70949 commit a88ab17

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/reference/elasticsearch/rest-apis/retrievers.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,19 +263,19 @@ Either `query` or `retrievers` must exclusively be specified.
263263
Combining `query` and `retrievers` is not supported.
264264
::::
265265

266-
`query`
266+
`query` {applies_to}`stack: ga 9.1`
267267
: (Optional, String)
268268

269269
The query to use when using the [multi-field query format](#multi-field-query-format).
270270

271-
`fields`
271+
`fields` {applies_to}`stack: ga 9.1`
272272
: (Optional, array of strings)
273273

274274
The fields to query when using the [multi-field query format](#multi-field-query-format).
275275
Fields can include boost values using the `^` notation (e.g., `"field^2"`).
276276
If not specified, uses the index's default fields from the `index.query.default_field` index setting, which is `*` by default.
277277

278-
`normalizer`
278+
`normalizer` {applies_to}`stack: ga 9.1`
279279
: (Optional, String)
280280

281281
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.
345345
Combining `query` and `retrievers` is not supported.
346346
::::
347347

348-
`query`
348+
`query` {applies_to}`stack: ga 9.1`
349349
: (Optional, String)
350350

351351
The query to use when using the [multi-field query format](#multi-field-query-format).
352352

353-
`fields`
353+
`fields` {applies_to}`stack: ga 9.1`
354354
: (Optional, array of strings)
355355

356356
The fields to query when using the [multi-field query format](#multi-field-query-format).
@@ -1021,6 +1021,9 @@ GET /restaurants/_search
10211021
```
10221022
10231023
## Multi-field query format [multi-field-query-format]
1024+
```yaml {applies_to}
1025+
stack: ga 9.1
1026+
```
10241027
10251028
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.
10261029
This format automatically generates appropriate inner retrievers based on the field types and query parameters.

0 commit comments

Comments
 (0)