Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewObjectsSorter ¶
Types ¶
type LSMSorter ¶
type LSMSorter interface { Sort(ctx context.Context, limit int, sort []filters.Sort) ([]uint64, error) SortDocIDs(ctx context.Context, limit int, sort []filters.Sort, ids helpers.AllowList) ([]uint64, error) SortDocIDsAndDists(ctx context.Context, limit int, sort []filters.Sort, ids []uint64, dists []float32) ([]uint64, []float32, error) }
Click to show internal directories.
Click to hide internal directories.