package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewFixupWorker returns a new worker for the given processor.
NewVectorIndex constructs a new vector index instance.
# Constants
DeletedMultiplier increases the number of results that will be reranked, in order to account for vectors that may have been deleted in the primary index.
MaxQualitySamples specifies the max value of the QualitySamples index option.
RerankMultiplier is multiplied by MaxResults to calculate the maximum number of search results that will be reranked with the original full-size vectors.
# Structs
BalancedKmeans implements a balanced K-Means algorithm that separates d-dimensional vectors into a left and right partition.
FormatOptions modifies the behavior of the Format method.
SearchOptions specifies options that apply to a particular search operation over the vector index.
VectorIndex implements the C-SPANN algorithm, which adapts Microsoft’s SPANN and SPFresh algorithms to work well with CockroachDB’s unique distributed architecture.
VectorIndexOptions specifies options that control how the index will be built, as well as default options for how it will be searched.