-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>bugTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchhelp wantedadoptmeadoptme
Description
Elasticsearch version (bin/elasticsearch --version): 5.3.0
Plugins installed: [repository-s3]
JVM version (java -version): 1.8.0_92
OS version (uname -a if on a Unix-like system): Linux 2.6
Description of the problem including expected versus actual behavior:
Steps to reproduce:
After we make a PUT or POST mapping to add additional fields, it removes our _meta Field from the mapping.
Is this normal? Can we prevent this?
Before:
{
"foo": {
"mappings": {
"bar": {
"_meta": {
"foo": "bar"
},
"properties": {
...
After:
{
"foo": {
"mappings": {
"bar": {
"properties": {
...
This was question was asked in the forum with no answer provided.
https://discuss.elastic.co/t/put-mapping-removes-metadata-from-index/91794
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>bugTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchhelp wantedadoptmeadoptme