From c859fafcbddadb088196298d6c931e5d3719bfc2 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Wed, 13 May 2020 08:34:22 -0400 Subject: [PATCH] [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. --- docs/reference/ingest/enrich.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/ingest/enrich.asciidoc b/docs/reference/ingest/enrich.asciidoc index f589ad47ebf..e5e7c17a147 100644 --- a/docs/reference/ingest/enrich.asciidoc +++ b/docs/reference/ingest/enrich.asciidoc @@ -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 <> (default). +(Optional, <>) +Query used to filter documents in the enrich index for matching. Defaults to +a <> query. [role="xpack"] [testenv="basic"]