The script works if used as an indexed script at
/_scripts/groovy/updateDocument.
On Sunday, April 12, 2015 at 6:14:20 PM UTC+5:30, Sacheendra Talluri wrote:
>
> I am unable to update documents using scripts. The required script has
> been stored at config/scripts.
> The curl
I am unable to update documents using scripts. The required script has been
stored at config/scripts.
The curl request I am doing is here
https://gist.github.com/sacheendra/22424ca9b3caf1d2a0b1#file-updatedoc_err
The error being returned is:
{
"error" : "ActionRequestValidationException[Valida
One way I found was to use a script as was mentioned here:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html
There is an example of how to remove a field from a document.
Is there any other way this can be achieved?
For example, if i want to delete the field "