Skip to content

No way to specify script language in Document.update #1560

Closed
@haynesgt

Description

@haynesgt

elasticsearch_dsl==7.4.0

The script param is assumed to be a string here:

but there is no way to set the language of the script.

It would be more intuitive if it set body["script"] = script if the script param were a dict.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions