Are you using 0.19.x version ?
David ![]()
@dadoonet
Le 1 mars 2012 à 08:22, "kali.seo" kali.seo@gmail.com a écrit :
Hi There,
I just copy / past the sample in documentation about update, and.. it don't work :
Doc : Elasticsearch Platform — Find real-time answers at scale | ElasticIndex :
curl -XPUT server:9200/test/type1/1 -d '{"counter" : 1,"tags" : ["red"]}'
{"ok":true,"_index":"test","_type":"type1","_id":"1","_version":1}Update :
curl -XPOST 'server:9200/test/type1/1/_update' -d '{"script" : "ctx._source.counter += count","params" : {"count" : 4}}'
No handler found for uri [/test/type1/1/_update] and method [POST]Can someone explain me what's wrong ?
Thanks a lot !