Reject updates to the _default_ mapping. (#29165)

This will reject mapping updates to the `_default_` mapping with 7.x indices
and still emit a deprecation warning with 6.x indices.

Relates #15613
Supersedes #28248
This commit is contained in:
Adrien Grand 2018-03-21 10:44:11 +01:00 committed by GitHub
parent 1d6ed824c7
commit 8f9d2ee4e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 38 additions and 208 deletions

View file

@ -1,14 +0,0 @@
[[default-mapping]]
=== `_default_` mapping
deprecated[6.0.0,See <<removal-of-types>>]
The default mapping, which will be used as the base mapping for a new
mapping type, can be customised by adding a mapping type with the name
`_default_` to an index, either when
<<indices-create-index,creating the index>> or later on with the
<<indices-put-mapping,PUT mapping>> API.
The documentation for this feature has been removed as it no longer makes
sense in 6.x where there can be only a single type per index.