flat

package
v1.28.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: BSD-3-Clause Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, uc flatent.UserConfig, store *lsmkv.Store) (*flat, error)

func ValidateUserConfigUpdate

func ValidateUserConfigUpdate(initial, updated schemaConfig.VectorIndexConfig) error

Types

type Config

type Config struct {
	ID               string
	RootPath         string
	TargetVector     string
	Logger           logrus.FieldLogger
	DistanceProvider distancer.Provider
	AllocChecker     memwatch.AllocChecker
}

func (Config) Validate

func (c Config) Validate() error

type FlatStats added in v1.24.23

type FlatStats struct{}

func (*FlatStats) IndexType added in v1.24.23

func (s *FlatStats) IndexType() common.IndexType

type SliceStruct

type SliceStruct[T any] struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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