Hi,
I'm looking at migrating a cluster running on ES 5.3 to either ES 6.3 or 6.4. As part of our migration, we need to remove our mapping types. My original idea is to split each type out as an alias, and add a postfix that was the mapping type.
i.e. instead of
PUT index_name/doc_type/id
have
PUT index_name_doc_type/_doc/_id
and then create a wildcard alias on the index name
POST _aliases
{
"actions" : [
{ "add" : { "index" : "index_name_*", "alias" : "index_name" } }
]
}
Is there any reason I shouldn't do this?
Thanks,
Victor