Enabled cannot be updated (#43701)

Removed the invalid tip that enabled can be updated for existing fields
and clarified instead that it cannot.

Related to #33566 and #33933
This commit is contained in:
Henning Andersen 2019-06-28 12:58:22 +02:00 committed by Henning Andersen
parent 86c853a7c2
commit 632da7f2c8
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ GET my_index/_mapping <3>
<2> The document can be retrieved.
<3> Checking the mapping reveals that no fields have been added.
TIP: The `enabled` setting can be updated on existing fields
using the <<indices-put-mapping,PUT mapping API>>.
The `enabled` setting for existing fields and the top-level mapping
definition cannot be updated.
Note that because Elasticsearch completely skips parsing the field
contents, it is possible to add non-object data to a disabled field: