- 
                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>deprecationTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch
Description
Currently it is possible to define multi-fields within a multi-field:
PUT my_index
{
  "mappings": {
    "properties": {
      "city": {
        "type": "text",
        "fields": {
          "raw": { 
            "type":  "keyword",
            "fields": {
              "as_double": {
                "type":  "double"
              }
            } 
          }
        }
      }
    }
  }
}
This behavior was probably unintentional and is not well-tested. We could not think of a good use case for chained multi-fields and would like to deprecate + remove support for the behavior.
Relates to #11053.
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>deprecationTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch