aggregator

package
v1.24.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanAll

func ScanAll(tx *bolt.Tx, scan docid.ObjectScanFn) error

ScanAll iterates over every row in the object buckets TODO: where should this live?

func ScanAllLSM

func ScanAllLSM(store *lsmkv.Store, scan docid.ObjectScanFn) error

ScanAllLSM iterates over every row in the object buckets

Types

type Aggregator

type Aggregator struct {
	// contains filtered or unexported fields
}

func New

func New(store *lsmkv.Store, params aggregation.Params,
	getSchema schemaUC.SchemaGetter, classSearcher inverted.ClassSearcher,
	stopwords stopwords.StopwordDetector, shardVersion uint16,
	vectorIndex vectorIndex, logger logrus.FieldLogger,
	propLenTracker *inverted.JsonPropertyLengthTracker,
	isFallbackToSearchable inverted.IsFallbackToSearchable,
	tenant string, nestedCrossRefLimit int64,
	bitmapFactory *roaringset.BitmapFactory,
) *Aggregator

func (*Aggregator) Do

func (*Aggregator) GetPropertyLengthTracker added in v1.23.0

func (a *Aggregator) GetPropertyLengthTracker() *inverted.JsonPropertyLengthTracker

type ShardCombiner

type ShardCombiner struct{}

func NewShardCombiner

func NewShardCombiner() *ShardCombiner

func (*ShardCombiner) Do

func (sc *ShardCombiner) Do(results []*aggregation.Result) *aggregation.Result

Jump to

Keyboard shortcuts

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