[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": ["..."],
|
"indices": ["..."],
|
||||||
"match_field": "...",
|
"match_field": "...",
|
||||||
"enrich_fields": ["..."],
|
"enrich_fields": ["..."],
|
||||||
"query": "..."
|
"query": {...}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -297,9 +297,9 @@ Fields to add to matching incoming documents. These fields must be present in
|
||||||
the source indices.
|
the source indices.
|
||||||
|
|
||||||
`query`::
|
`query`::
|
||||||
(Optional, string)
|
(Optional, <<query-dsl,Query DSL query object>>)
|
||||||
Query type used to filter documents in the enrich index for matching. Valid
|
Query used to filter documents in the enrich index for matching. Defaults to
|
||||||
value is <<query-dsl-match-all-query,`match_all`>> (default).
|
a <<query-dsl-match-all-query,`match_all`>> query.
|
||||||
|
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
[testenv="basic"]
|
||||||
|
|
Loading…
Reference in New Issue