From 3fed86aad03edf379bacab2159a897324b0e01b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Fri, 28 Jan 2022 11:57:46 +0100 Subject: [PATCH] [Docs] Add supported _terms_enum field types The `_terms_enum` API currently supported keyword, constant_keyword and flattened fields. This should be documented more clearly. --- docs/reference/search/terms-enum.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/search/terms-enum.asciidoc b/docs/reference/search/terms-enum.asciidoc index fdf4f201aa3a4..1853a0ad77849 100644 --- a/docs/reference/search/terms-enum.asciidoc +++ b/docs/reference/search/terms-enum.asciidoc @@ -5,7 +5,9 @@ ++++ The terms enum API can be used to discover terms in the index that match -a partial string. This is used for auto-complete: +a partial string. Supported field types are <>, +<> and +<>. This is used for auto-complete: [source,console] --------------------------------------------------