This is my first exploration for ES, I understand the id is auto generated if I did not user one,however here is what I get :
curl -XPUT http://localhost:9200/indextest/dns -d ' {
"url": "www.cnn.com",
"domain": "cnn.com" }'
No handler found for uri [/indextest/dns] and method [PUT]
however it works well when I use the id manually :
curl -XPUT http://localhost:9200/indextest/dns/1 -d ' {
"url": "www.cnn.com",
"domain": "cnn.com" }'
{"ok":true,"_index":"indextest","_type":"dns","_id":"1","_version":1}
Am I missing something here?