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[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?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a46de672-a1b8-45ce-8aa6-9c6305344ad2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to