Skip to main content

Module gating

Module gating 

Source
Expand description

Option-combination gating for rerank.

Validates a VectorAnnOptions request against the index shape and returns the CodecName the search should use (or None for FP32-only), surfacing unsupported combinations as RerankError::BadInput with precise messages.

Enums§

IndexShape
Shape of the underlying vector index, used by validate_options to decide which options are coherent.

Functions§

validate_options
Validate the option combo against the index shape and the collection’s configured quantization. Returns the CodecName the search should use for rerank (None when the request is FP32-only), or RerankError::BadInput when the combination is invalid.