Skip to content

Deprecate + remove support for chained multi-fields. #41267

Closed
@jtibshirani

Description

@jtibshirani

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions