Help us shape the future of Go! Take the 2026 Go Developer Survey

inmemory

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInMemoryVector

func NewInMemoryVector(logger.Logger) vector.Vector

NewInMemoryVector returns a vector store that keeps every collection in process memory and scores queries by exhaustive search. It is meant for development and tests.

Types

type Metadata

type Metadata struct {
	// IndexingDelay queues every write and applies it once the delay has
	// passed, so that queued acknowledgements and wait timeouts can be
	// observed. A development and test aid.
	IndexingDelay time.Duration `mapstructure:"indexingDelay"`
}

Metadata is the in-memory vector store metadata.

Jump to

Keyboard shortcuts

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