Enum Class IndexDocFailureStoreStatus

java.lang.Object
java.lang.Enum<IndexDocFailureStoreStatus>
org.elasticsearch.action.bulk.IndexDocFailureStoreStatus
All Implemented Interfaces:
Serializable, Comparable<IndexDocFailureStoreStatus>, Constable, Writeable, ToXContent, ToXContentFragment

public enum IndexDocFailureStoreStatus extends Enum<IndexDocFailureStoreStatus> implements ToXContentFragment, Writeable
Captures the role of the failure store in this document response. For example, - USED, means that this document was stored in the failure store - NOT_ENABLED, means that this document was rejected by elasticsearch, but it could have been stored in the failure store has it been enabled. - FAILED, means that this failed document was eligible to be stored in the failure store and the failure store was enabled but something went wrong.
  • Enum Constant Details

    • NOT_APPLICABLE_OR_UNKNOWN

      public static final IndexDocFailureStoreStatus NOT_APPLICABLE_OR_UNKNOWN
      This status represents that we have no information about this response or that the failure store is not applicable. For example: - when the doc was successfully indexed in a backing index of a data stream, - when we are running in a mixed version cluster and the information is not available, - when the doc was rejected by elasticsearch but failure store was not applicable (i.e. the target was an index).
    • USED

      public static final IndexDocFailureStoreStatus USED
      This status represents that this document was stored in the failure store successfully.
    • NOT_ENABLED

      public static final IndexDocFailureStoreStatus NOT_ENABLED
      This status represents that this document was rejected, but it could have ended up in the failure store if it was enabled.
    • FAILED

      public static final IndexDocFailureStoreStatus FAILED
      This status represents that this document was rejected from the failure store.
  • Method Details