POST _reindex
{
"source": {
"index": "author_v1"
},
"dest": {
"index": "author_v2"
}
}
POST /_aliases
{
"actions" : [
{ "remove" : { "index" : "author_v1", "alias" : "author" } },
{ "add" : { "index" : "author_v2", "alias" : "author" } }
]
}
POST author/_analyze
{
"text": "this is a sample description about the author",
"analyzer": "name_of_analyzer",
"explain" : true
}
POST author/_analyze
{
"text": "this is a sample description about the author",
"filter": ["name_of_any_filter"]
}