No handler found for uri [/my_store/products/] and method [PUT]


(Alice) #1

Elasticsearch version: 5.5.2
OS: Linux

When I create a index named my_store of products type with the command like this:

curl -XPUT 'http://10.62.179.32:9200/my_store/products/'

But it throws a error as follow:

No handler found for uri [/my_store/products/] and method [PUT]

Could anyone can give me any advice?


(Jason Tedor) #2

The endpoint to create an index is: /{index}. To add a type, you have specify it in the body, or create it dynamically when you post documents to indices. The endpoint that you're trying to invoke simply does not exist.


(system) #3

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