Class IndexFailure.Builder
- Enclosing class:
IndexFailure
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()code(IndexFailureCode code) code(Optional<IndexFailureCode> code) A stable, machine-readable reason code.from(IndexFailure other) A human-readable explanation of the failure, suitable for showing to an end user.
-
Method Details
-
from
-
code
A stable, machine-readable reason code. Branch on this value rather than on
message.SOURCE_UNAVAILABLE— the underlying item could not be loaded and may have been deleted.TEXT_INDEX_FAILED— keyword indexing failed; the content may still be findable by semantic search.EMBEDDING_FAILED— semantic indexing failed; the content may still be findable by keyword search.INDEXING_FAILED— no index leg is serving this content, so it is not findable by search at all.VECTOR_LIMIT_EXCEEDED— your vector storage limit was reached, so semantic indexing was skipped; keyword search is still serving this content.INTERNAL— an error on our side; retry, and contact support if it persists. -
code
-
message
A human-readable explanation of the failure, suitable for showing to an end user. Wording may change between releases — branch on
codeinstead. -
message
-
build
-
additionalProperty
-
additionalProperties
-