Package org.opensearch.index.engine
Interface EngineConfig.TombstoneDocSupplier
- Enclosing class:
EngineConfig
@PublicApi(since="1.0.0")
public static interface EngineConfig.TombstoneDocSupplier
A supplier supplies tombstone documents which will be used in soft-update methods.
The returned document consists only _uid, _seqno, _term and _version fields; other metadata fields are excluded.
- Opensearch.api:
-
Method Summary
Modifier and TypeMethodDescriptionCreates a tombstone document for a delete operation.newNoopTombstoneDoc
(String reason) Creates a tombstone document for a noop operation.
-
Method Details
-
newDeleteTombstoneDoc
Creates a tombstone document for a delete operation. -
newNoopTombstoneDoc
Creates a tombstone document for a noop operation.- Parameters:
reason
- the reason of an a noop
-