script_file does not work with _update #10007
Labels
>bug
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
:Distributed/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
good first issue
low hanging fruit
Running with 1.4.4, when trying to update an existing document, one cannot use the undocumented
script_file
because it complains of a validation error (expecting "script" or "doc").Fails due to:
As a workaround, you can supply the script file directly using the
script
parameter (even with dynamic scripting disabled for Groovy because it recognizes that it is a file).The text was updated successfully, but these errors were encountered: