vectorindex

package
v1.37.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVectorIndexType = VectorIndexTypeHNSW
	VectorIndexTypeHNSW    = "hnsw"
	VectorIndexTypeFLAT    = "flat"
	VectorIndexTypeDYNAMIC = "dynamic"
	VectorIndexTypeHFresh  = "hfresh"
	// VectorIndexTypeNone is a sentinel value, NOT a real index type.
	// It marks a named vector whose search index has been dropped via the
	// DeleteClassVectorIndex API. It must never be accepted as a user-supplied
	// index type in AddClass or UpdateClass requests.
	VectorIndexTypeNone = "none"
)

Variables

This section is empty.

Functions

func ParseAndValidateConfig

func ParseAndValidateConfig(input interface{}, vectorIndexType string, isMultiVector bool) (schemaConfig.VectorIndexConfig, error)

ParseAndValidateConfig from an unknown input value, as this is not further specified in the API to allow of exchanging the index type

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL