I suspect the answer is no, but I can't find anything in the documentation to say yes or no.
The question is can you add a CCS in to an alias? like so:
curl -XPOST 'hd1delk01lx:9205/_aliases?pretty' -H 'Content-Type: application/json' -d'
{
"actions" : [
{ "add" : { "index" : "nyc1:bay*", "alias" : "alias1" } }
]
}
'
Since I am getting the error of
{
"error" : {
"root_cause" : [
{
"type" : "index_not_found_exception",
"reason" : "no such index",
"index_uuid" : "_na_",
"resource.type" : "index_or_alias",
"resource.id" : "nyc1:bay*",
"index" : "nyc1:bay*"
}
],
"type" : "index_not_found_exception",
"reason" : "no such index",
"index_uuid" : "_na_",
"resource.type" : "index_or_alias",
"resource.id" : "nyc1:bay*",
"index" : "nyc1:bay*"
},
"status" : 404
}
or am I just doing it wrong?