Package org.elasticsearch.index.engine
Interface EngineConfig.TombstoneDocSupplier
-
- Enclosing class:
- EngineConfig
public static interface EngineConfig.TombstoneDocSupplierA 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParsedDocumentnewDeleteTombstoneDoc(String type, String id)Creates a tombstone document for a delete operation.ParsedDocumentnewNoopTombstoneDoc(String reason)Creates a tombstone document for a noop operation.
-
-
-
Method Detail
-
newDeleteTombstoneDoc
ParsedDocument newDeleteTombstoneDoc(String type, String id)
Creates a tombstone document for a delete operation.
-
newNoopTombstoneDoc
ParsedDocument newNoopTombstoneDoc(String reason)
Creates a tombstone document for a noop operation.- Parameters:
reason- the reason of an a noop
-
-