Is there any way to use the UPDATE APIhttp://www.elasticsearch.org/guide/reference/api/update.html with
the _source field disabled?
The examples use it:
"script" : "ctx._source.tags += tag",
I have a array/list field in my documents which represent user_ids that
shared that document, every time someone shares a document, we must add the
user id to the list in the corresponding document .
Any thoughts?
Hey Felipe no you can't use the update API with source disabled.
Le lundi 19 mars 2012, Felipe Hummel felipehummel@gmail.com a écrit :
Is there any way to use the UPDATE API with the _source field disabled?
The examples use it:
"script" : "ctx._source.tags += tag",
I have a array/list field in my documents which represent user_ids that
shared that document, every time someone shares a document, we must add the
user id to the list in the corresponding document .
Any thoughts?
--
Benjamin DEVEZE