Skip to content

.Lang() not allowed to be specified as parameter in 6.0 on update request. #2935

Closed
@tdoman

Description

@tdoman

NEST 6.1.0-ci1208153011

The NEST library allows it to be specified but ES 6.0 responds with:
"request [/myindex/mytype/1/_update] contains unrecognized parameter: [lang]"

var response = await client.UpdateAsync<T, object>(id, u => u.Index(index).Type(type).Lang("painless").Script(s => s.Indexed(scriptFile).Params(parms)).RetryOnConflict(5));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions