Skip to content

in case of scripted updates it would be good if we get the operation #11684

@vedil

Description

@vedil

is it possible to get the result.operation() in the UpdateResponse too, so that it is easy to determine if NONE/DELETE/UPSERT which of them actually happened?
because ctx.get("op") is after the execution of script, it would be good to know for the client whether actual update happened or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions