Monday, 3 April 2017

'No handler found for uri [/myindex] and method [POST]' Elasticsearch 5.0.3 with nodejs esclient

I am trying to create an index using the npm package elasticsearch and have been recieving the following error.

'No handler found for uri [/myindex] and method [POST]'

esClient.indices.create({ index: 'myindex' }, function(err, resp, status) { cb(err, resp); });

The following code was working for Elasticsearch 2.3



via Utkarsh Mehrotra

No comments:

Post a Comment