Bulk UDP update

Hi all,

Is it possible to submit updates via the Bulk UDP service?

e.g.

curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
"script" : "ctx._source.tags.contains(tag) ? ctx.op = "delete" :
ctx.op = "none"",
"params" : {
"tag" : "blue"
}
}'

Regards,
Steve.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It should work.

http://www.elasticsearch.org/guide/reference/api/bulk-udp/

$ cat bulk.txt
{ "update" : { "_index" : "test", "_type" : "type1", "_id" : "1" } }
{ "script" : "ctx._source.tags.contains(tag) ? ctx.op = "delete" : ctx.op =
"none"", "params" : {"tag" : "blue" }

$ cat bulk.txt | nc -w 0 -u localhost 9700

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.