Versions in this module Expand all Collapse all v0 v0.18.0 Jan 23, 2026 v0.17.0 Sep 2, 2025 Changes in this version + type And struct + Queries []Query + func (q *And) Match(r api.Record) bool + func (q *And) Optimize() Query + func (q *And) String() string + func (q *And) TimeRange() (*time.Time, *time.Time) + type FieldQuery struct + Key stringMatcher + Value valueMatcher + func (q *FieldQuery) Match(r api.Record) bool + func (q *FieldQuery) Optimize() Query + func (q *FieldQuery) String() string + func (q *FieldQuery) TimeRange() (*time.Time, *time.Time) + type Not struct + Query Query + func (q *Not) Match(r api.Record) bool + func (q *Not) Optimize() Query + func (q *Not) String() string + func (q *Not) TimeRange() (*time.Time, *time.Time) + type Or struct + Queries []Query + func (q *Or) Match(r api.Record) bool + func (q *Or) Optimize() Query + func (q *Or) String() string + func (q *Or) TimeRange() (*time.Time, *time.Time) + type Query interface + Match func(api.Record) bool + Optimize func() Query + TimeRange func() (*time.Time, *time.Time) + func ParseQuery(query string) Query + type SimpleQuery struct + Value valueMatcher + func (q *SimpleQuery) Match(r api.Record) bool + func (q *SimpleQuery) Optimize() Query + func (q *SimpleQuery) String() string + func (q *SimpleQuery) TimeRange() (*time.Time, *time.Time) + type TimeRange struct + End *time.Time + Start *time.Time