Need to create mapping for map with dotted fields

I have a map which have keys like "post" and "post.wall". I need to create a new index in 5.4 and then reindex docs from 1.4.

What kind of mapping shall I use to create an index so that my docs get reindexed without any error?

One way to achieve this would be to replace '.' with some other character at index time. either a de_dot filter which is not recommended as it adds an overhead, or change the keys before indexing.

refer to this:

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