Hi,
We are migrating from Es6.8 to latest ES7.
We are using Re-index.
While testing we came across a doc with a malformed fieldname. (the mapping does not allow for the field, but it is there).
Example:
{
"id": "123456",
"meta": {
"field_a": "test",
"field_b": "test2"
},
"meta.field_c": "test3"
}
The field "meta.field_c" should not be there - we don't know how it came to be, it should be inside the "meta" object.
With the reindex this fieldname is no longer allowed - because of the dot.
We want to search for all docs with this field - so that we can manually transfer / delete them.
How would we do that? We've tried to use a script in a query - without luck.