RejectReason

Why an insert was rejected (SPEC.md §1.2).

Entries

Link copied to clipboard

The input isn't valid JSON (RFC 8259).

Link copied to clipboard

A string or key contains bytes that aren't valid UTF-8; such bytes elsewhere are MALFORMED_JSON.

Link copied to clipboard

A string contains an escape that doesn't denote a Unicode scalar value, such as a lone surrogate.

Link copied to clipboard

An object contains the same key twice.

Link copied to clipboard

A number's normalized decimal exponent doesn't fit a 32-bit signed integer.

Link copied to clipboard

The document exceeds a configured limit (size, depth, key, string or number length).

Link copied to clipboard

A type assignment path given at insert matches no value, or matches a value that isn't an object.

Link copied to clipboard

The store has a CreationOptions.documentKey and the document has no string at its path: no value is there, or the value isn't a string.

Link copied to clipboard

The store has a CreationOptions.vectorField and the value at its path isn't a vector the field accepts: not an array of VectorField.dimensions numbers, a number too large for a 32-bit float, all zeros under VectorMetric.COSINE, or no vector at all when the field is required.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard