Skip to content

mapping import loses metadata #4

Description

@podollb

It seems that your export mapping collects all the data (from the mapping) but your import mappings doesn't import everything.

For example, I see this in my mapping file from an export (which is correct):

    "dynamic" : "strict",
    "_id" : {
      "path" : "key"
    },
    "_timestamp" : {
      "enabled" : true,
      "store" : true
    },
    "_ttl" : {
      "enabled" : true
    },

But after I import this mapping, the above data is lost. If I manually take the JSON (for any given mapping) out of the mapping export file, I can manually PUT it (via curl) and it saves everything correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions