-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Update by query should support short script form and doc #24898
Copy link
Copy link
Closed
Labels
:Distributed/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.A catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
The script parameter in update-by-query requires a full script object, instead of allowing the simple script form:
"script": "ctx._source.foo=5"
We should be using the same script parser we use every else, which would take care of this automatically.
Also, any reason why we don't support partial doc updates with the doc parameter`?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.A catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.