[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:
James Rodewig 2020-05-13 08:34:22 -04:00
parent b4521d5183
commit c859fafcbd
1 changed files with 4 additions and 4 deletions

View File

@ -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"]