Documentation
¶
Overview ¶
Package inverted implements an inverted index repository.
Package inverted implements a inverted index repository.
Package inverted implements a inverted index repository.
Index ¶
- Variables
- func BuildIndexModeQuery(measureName string, criteria *modelv1.Criteria, schema logical.Schema) (index.Query, error)
- func BuildPropertyQuery(req *propertyv1.QueryRequest, groupField, idField string) (index.Query, error)
- func BuildQuery(criteria *modelv1.Criteria, schema logical.Schema, entityDict map[string]int, ...) (index.Query, [][]*modelv1.TagValue, bool, error)
- func NewStore(opts StoreOpts) (index.SeriesStore, error)
- type GlobalIndexError
- type Metrics
- type StoreOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzers map[string]*analysis.Analyzer
Analyzers is a map that associates each IndexRule_Analyzer type with a corresponding Analyzer.
Functions ¶
func BuildIndexModeQuery ¶ added in v0.8.0
func BuildIndexModeQuery(measureName string, criteria *modelv1.Criteria, schema logical.Schema) (index.Query, error)
BuildIndexModeQuery returns blugeQuery for index mode.
func BuildPropertyQuery ¶ added in v0.8.0
func BuildPropertyQuery(req *propertyv1.QueryRequest, groupField, idField string) (index.Query, error)
BuildPropertyQuery returns blugeQuery for property query.
Types ¶
type GlobalIndexError ¶ added in v0.7.0
type GlobalIndexError struct {
IndexRule *databasev1.IndexRule
Expr logical.LiteralExpr
}
GlobalIndexError represents a index rule is "global". The local filter can't handle it.
func (GlobalIndexError) Error ¶ added in v0.7.0
func (g GlobalIndexError) Error() string
type Metrics ¶ added in v0.7.0
type Metrics struct {
// contains filtered or unexported fields
}
Metrics is the metrics for the inverted index.
func NewMetrics ¶ added in v0.7.0
func NewMetrics(factory *observability.Factory, labelNames ...string) *Metrics
NewMetrics creates a new metrics for the inverted index.
Click to show internal directories.
Click to hide internal directories.