Index
Interface for index configuration. Use constructor functions like NewAutoIndex() or NewHNSWIndex() to create instances.
type Index interface {
Name() string
IndexType() IndexType
Params() map[string]string
}
METHODS:
Name() stringReturns the name of the index.
IndexType() IndexTypeReturns the index algorithm type.
Params() map[string]stringReturns the index parameters as a key-value map.