Add version for Mapping

Hi.
A newbie question.
Can I add some kind of versioning for the mapping itself and not the document.

So, it is not a property or attribute of the document being indexed, but the mapping itself.

So, when I request the mapping for an index as follows:

/<index_name>/_mapping
it brings that property.
I could add it under the "properties", but I prefer not, so I know it is not document related.

Appreciate your help

Hi @Ghassan_Karwchan Welcome to the community

You mean like the _meta fields? see here

You can put in what you like.

2 Likes

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