Hello,
For example, if I create an index alias, like in the example
POST /_aliases
{
"actions" : [
{ "add" : { "index" : "test1", "alias" : "alias1" } }
]
}
but then i want to preserve the alias1
and swap it with "index": "test2", what is the correct way to do this?
do i have to remove the alias first from test1
index and then add it to test2
index?