How to remove unwanted attributes containing values from a document in an index in Elasticsearch
We created additionalattr1, additionalattr2
in an index by mistake and they don't have a mapping either, what would be the best way to remove these in production.
additionalattr1 is a nested attribute, but mistakenly created in a flat structure within the document
"pi.ei.additionalattr1" : "Finance / CA / CS/ CFA / Others",
"pi.ei.additionalattr2" : "Finance",