Skip to content

BulkUpdateOperation.RetryOnConflict is boolean not a number #7838

Closed
@Eragra3

Description

@Eragra3

Elastic.Clients.Elasticsearch version:
8.1.2

Elasticsearch version:
8.8.1

Hello, this may be more of a question than issue, but when we use BulkUpdateOperation, its property RetryOnConflict is of bool type, not a numeric.
When the query is sent to Elasticsearch it fails with:

Current token (VALUE_TRUE) not numeric, can not use numeric value accessors

I think retry_on_conflict used to be numeric on previous versions and ES documentation mentiones it as a numeric:
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html#docs-update-api-query-params
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-update

Metadata

Metadata

Assignees

No one assigned

    Labels

    8.xRelates to a 8.x client version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions