Versions in this module Expand all Collapse all v2 v2.4.3 Feb 9, 2022 Changes in this version + const DefaultIndexShards + var ErrInvalidShardQuery = errors.New("incompatible index shard query") + type InvertedIndex struct + func NewWithShards(totalShards uint32) *InvertedIndex + func (ii *InvertedIndex) Add(labels []logproto.LabelAdapter, fp model.Fingerprint) labels.Labels + func (ii *InvertedIndex) Delete(labels labels.Labels, fp model.Fingerprint) + func (ii *InvertedIndex) LabelNames(shard *astmapper.ShardAnnotation) ([]string, error) + func (ii *InvertedIndex) LabelValues(name string, shard *astmapper.ShardAnnotation) ([]string, error) + func (ii *InvertedIndex) Lookup(matchers []*labels.Matcher, shard *astmapper.ShardAnnotation) ([]model.Fingerprint, error)