Skip to content

Commit

Permalink
Enabled cannot be updated (#43701)
Browse files Browse the repository at this point in the history
Removed the invalid tip that enabled can be updated for existing fields
and clarified instead that it cannot.

Related to #33566 and #33933
  • Loading branch information
henningandersen committed Jun 28, 2019
1 parent cedc39f commit 19ee372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/mapping/params/enabled.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 19ee372

Please sign in to comment.