Package ai.vectros.types
Class IndexFailure
java.lang.Object
ai.vectros.types.IndexFailure
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexFailure.Builderbuilder()booleangetCode()inthashCode()toString()
-
Method Details
-
getCode
- Returns:
- 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.
-
getMessage
- Returns:
- A human-readable explanation of the failure, suitable for showing to an end user. Wording may change between releases — branch on
codeinstead.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-