Remote Reindexing


(Murali Sarala) #1

When I try remote reindexing i get below error, Using ES 2.4.1 and also whitelisted.

{
"error": {
"root_cause": [
{
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "bertusarticles",
"index": "bertusarticles"
}
],
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "bertusarticles",
"index": "bertusarticles"
},
"status": 404
}

myconfig
POST /_reindex
{
"source": {
"remote": {
"host": "http://remotehost:9200"
},
"index": "bertusarticles"
},
"dest": {
"index": "bertusarticlesv0"
}
}


(Mark Walkom) #2

You can only reindex from remote in 5.0.


(Nik Everett) #3

Yeah, only in 5.0+. Sorry about the misleading error message there. We are slowly making the parsing more strict but that stuff (it is a search request in there) hasn't been converted yet. So when you specify unsupported stuff it is just thrown on the floor.


(system) #4