New to elasticsearch, so hopefully the question makes sense... Using
elasticsearch-hadoop (1.3.0.M2-yarn), is it possible to add to a list? I am
currently populating elasticsearch from a m/r job, but it updates the
object as opposed to add an object to the list. I would like to accomplish
something like the following from the update documentation:
We can also add a tag to the list of tags (note, if the tag exists, it will
still add it, since its a list):
curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
"script" : "ctx._source.tags += tag",
"params" : {
"tag" : "blue"
}
}'
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8d177c28-498d-4466-9737-846623ab4dd9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.