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
The error being returned is:
{
"error" : "ActionRequestValidationException[Validation Failed: 1: script
or doc is missing;]",
"status" : 400
}
There is a script in config/scripts named updateDocument.groovy
Is there way to list the scripts in config/scripts to see that my script
has been recognized by elasticsearch?
Is updating using a stored script even possible?
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 request I am doing is here Elasticsearch says script is missing, but script is present. · GitHub
The error being returned is:
{
"error" : "ActionRequestValidationException[Validation Failed: 1: script
or doc is missing;]",
"status" : 400
}
There is a script in config/scripts named updateDocument.groovy
Is there way to list the scripts in config/scripts to see that my script
has been recognized by elasticsearch?
Is updating using a stored script even possible?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.