Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Call out that you can't update analyzer #69889

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/reference/mapping/params/analyzer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ We recommend testing analyzers before using them in production. See
<<test-analyzer>>.
====

TIP: The `analyzer` setting can *not* be updated on existing fields
using the <<indices-put-mapping,PUT mapping API>>.

[[search-quote-analyzer]]
==== `search_quote_analyzer`

Expand Down Expand Up @@ -94,6 +97,9 @@ GET my-index-000001/_search
}
--------------------------------------------------

TIP: The `search_quote_analyzer` setting can be updated on existing fields
using the <<indices-put-mapping,PUT mapping API>>.

<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
Expand Down