mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Docs: Call out that you can't update analyzer (#69889)
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.
This commit is contained in:
parent
69020a68ef
commit
fe457f156d
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,9 @@ We recommend testing analyzers before using them in production. See
|
||||||
<<test-analyzer>>.
|
<<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]]
|
||||||
==== `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 <<indices-put-mapping,PUT mapping API>>.
|
||||||
|
|
||||||
<1> `my_analyzer` analyzer which tokens all terms including stop words
|
<1> `my_analyzer` analyzer which tokens all terms including stop words
|
||||||
<2> `my_stop_analyzer` analyzer which removes 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
|
<3> `analyzer` setting that points to the `my_analyzer` analyzer which will be used at index time
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue