Skip to content

Add Support for Additional Fields in Put Request #136

@MohammedAghil

Description

@MohammedAghil

Problem

At present, the Put Request does not support fields such as sequence number and primary term which can lead the open search specific store to perform an index request without checking if the document's last modification was assigned the given sequence or primary term. This affects the concurrency mechanism for open search specific store.

Propose to add these fields similar to how it is done for Update Request

public UpdateDataObjectRequest(
        String index,
        String id,
        String tenantId,
        Long ifSeqNo,
        Long ifPrimaryTerm,
        int retryOnConflict,
        ToXContentObject dataObject
)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions