diff --git a/docs/reference/indices/analyze.asciidoc b/docs/reference/indices/analyze.asciidoc index 8244a000c7e..02a4e00588a 100644 --- a/docs/reference/indices/analyze.asciidoc +++ b/docs/reference/indices/analyze.asciidoc @@ -44,7 +44,7 @@ the `analyzer` or `` parameter overrides this value. If no analyzer or field are specified, the analyze API uses the default analyzer for the index. -If no index is specified +If no index is specified or the index does not have a default analyzer, the analyze API uses the <>. -- @@ -56,11 +56,9 @@ the analyze API uses the <>. `analyzer`:: + -- -(Optional, string or <>) -Analyzer used to analyze for the provided `text`. - -See <> for a list of built-in analyzers. -You can also provide a <>. +(Optional, string) +The name of the analyzer that should be applied to the provided `text`. This could be a +<>, or an analyzer that's been configured in the index. If this parameter is not specified, the analyze API uses the analyzer defined in the field's mapping. @@ -187,8 +185,6 @@ GET /_analyze } -------------------------------------------------- -deprecated[5.0.0, Use `filter`/`char_filter` instead of `filters`/`char_filters` and `token_filters` has been removed] - Custom tokenizers, token filters, and character filters can be specified in the request body as follows: [source,console]