Skip to content

UpdateByQueryRequest explanation is a little bit confusing #315

Closed
@liu-xiao-guo

Description

@liu-xiao-guo

Java API client version

8.2

Java version

JDK 1.8

Elasticsearch Version

Elastic Stack 8.2

Problem description

At the link https://artifacts.elastic.co/javadoc/co/elastic/clients/elasticsearch-java/8.2.2/co/elastic/clients/elasticsearch/core/UpdateByQueryRequest.html, it says:

Performs an update on every document in the index without changing the source, for example to pick up a mapping change.

In fact, we can use the request to update source if scripts are used. The description of the class is a confusing to developers.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions