Closed matthewdu closed 7 years ago
Not sure what behaviour before Elasticsearch 5.0 was.
Now
POST /some_index { "index": { "number_of_shards": 5, "number_of_replicas": 0, "refresh_interval": -1 } }
returns
No handler found for uri [/some_index] and method [POST]
The proper http request method is PUT https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html
Thanks, @matthewdu!
Not sure what behaviour before Elasticsearch 5.0 was.
Now
returns
The proper http request method is PUT https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html