From 32151776332ffd421f68d6f1137b9f5f0d1c72c6 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 3 Mar 2021 09:44:53 -0500 Subject: [PATCH] Docs: Call out that you can't update analyzer You can't update the `analyzer` parameter in the PUT mappings API even if the index is closed. This adds a TIP to call that out. And adds a TIP for `search_quote_analyzer` which you *can* update. --- docs/reference/mapping/params/analyzer.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/mapping/params/analyzer.asciidoc b/docs/reference/mapping/params/analyzer.asciidoc index 4c5d7cda7337a..e845fe79b9d96 100644 --- a/docs/reference/mapping/params/analyzer.asciidoc +++ b/docs/reference/mapping/params/analyzer.asciidoc @@ -19,6 +19,9 @@ We recommend testing analyzers before using them in production. See <>. ==== +TIP: The `analyzer` setting can *not* be updated on existing fields +using the <>. + [[search-quote-analyzer]] ==== `search_quote_analyzer` @@ -94,6 +97,9 @@ GET my-index-000001/_search } -------------------------------------------------- +TIP: The `search_quote_analyzer` setting can be updated on existing fields +using the <>. + <1> `my_analyzer` analyzer which tokens all terms including stop words <2> `my_stop_analyzer` analyzer which removes stop words <3> `analyzer` setting that points to the `my_analyzer` analyzer which will be used at index time