mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 13:26:02 +00:00
[DOCS] Correct query
datatype in enrich policy definition (#56224)
Corrects the datatype for the `query` property of an enrich policy object. The `query` property is a query object, not a string.
This commit is contained in:
parent
b4521d5183
commit
c859fafcbd
@ -247,7 +247,7 @@ following:
|
||||
"indices": ["..."],
|
||||
"match_field": "...",
|
||||
"enrich_fields": ["..."],
|
||||
"query": "..."
|
||||
"query": {...}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -297,9 +297,9 @@ Fields to add to matching incoming documents. These fields must be present in
|
||||
the source indices.
|
||||
|
||||
`query`::
|
||||
(Optional, string)
|
||||
Query type used to filter documents in the enrich index for matching. Valid
|
||||
value is <<query-dsl-match-all-query,`match_all`>> (default).
|
||||
(Optional, <<query-dsl,Query DSL query object>>)
|
||||
Query used to filter documents in the enrich index for matching. Defaults to
|
||||
a <<query-dsl-match-all-query,`match_all`>> query.
|
||||
|
||||
[role="xpack"]
|
||||
[testenv="basic"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user