Reindex From Remote : TransportException


(Faizan Sofi) #1

I have to transfer one index from an ElasticSearch 1.7 cluster to ElasticSearch 5.x .I found the Reindex from Remote API , whitelisted that in the elasticsearch.yml file .
curl -XPOST 'localhost:9200/_reindex?pretty' -H 'Content-Type: application/json' -d'
{
"source": {
"remote": {
"host": "http://host:port"
},
"index": "index-name"
},
"dest": {
"index": "index-name"
}
}
'

I get this error:
{
"error": {
"root_cause": [
{
"type": "remote_transport_exception",
"reason": "[a3-escluster-prod-1d-4e84a6ba][host:port][indices:admin/create]"
}
],
"type": "string_index_out_of_bounds_exception",
"reason": "String index out of range: 0"
},
"status": 500
}

Any help would be appreciated


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.