Class DocumentUpdate
java.lang.Object
io.fluxcapacitor.common.api.search.DocumentUpdate
Represents a single low-level document update operation to be applied to a search collection.
This class is used internally by the Flux client when performing bulk update operations using
BulkUpdateDocuments
, which is sent to the Flux platform to apply
multiple updates in a single request.
The type of update is specified via type
, and may be:
BulkUpdate.Type.index
– to unconditionally index the documentBulkUpdate.Type.indexIfNotExists
– to index the document only if it does not already existBulkUpdate.Type.delete
– to delete the document
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DocumentUpdate
public DocumentUpdate()
-