Class BulkIndexOperationsException

All Implemented Interfaces:
Serializable

@PublicApi public class BulkIndexOperationsException extends IndexOperationException
Thrown when one or more bulk index operations have failed
Since:
10.4
See Also:
  • Constructor Details

  • Method Details

    • getDocumentExceptions

      public Map<String,IndexOperationException> getDocumentExceptions()
      Get a map of exceptions associated with document IDs
      Returns:
      a map of exceptions associated with document IDs
    • getDocumentException

      public Optional<IndexOperationException> getDocumentException(String documentId)
      Get an exception associated with the given document ID, or empty if it has no exceptions
      Parameters:
      documentId - the document ID
      Returns:
      an exception associated with the given document ID, or empty if it has no exceptions