How to get rid of _type field

Hi,
I have old indices that still contain the _type field. I want to get rid of this so that I am prepared for 8.X whenever its coming. How can I remove this field from all my indices? What I tried:

  • Reindex, Did not help
  • Reindex with pipeline (see below), Did not help
"test_pipeline": {
  "description": "Removes the 'type' field",
  "processors": [
     {
     "remove": {
        "field": "_type"
     }
     }
  ]
}

How can I remove this field?

Thanks,
defalt

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.