Versions in this module Expand all Collapse all v0 v0.7.0 Feb 27, 2018 v0.6.0 Jan 5, 2018 Changes in this version + const MaxSqrtCache + var SqrtCache []float64 + type ConjunctionQueryScorer struct + func NewConjunctionQueryScorer(options search.SearcherOptions) *ConjunctionQueryScorer + func (s *ConjunctionQueryScorer) Score(ctx *search.SearchContext, constituents []*search.DocumentMatch) *search.DocumentMatch + type ConstantScorer struct + func NewConstantScorer(constant float64, boost float64, options search.SearcherOptions) *ConstantScorer + func (s *ConstantScorer) Score(ctx *search.SearchContext, id index.IndexInternalID) *search.DocumentMatch + func (s *ConstantScorer) SetQueryNorm(qnorm float64) + func (s *ConstantScorer) Weight() float64 + type DisjunctionQueryScorer struct + func NewDisjunctionQueryScorer(options search.SearcherOptions) *DisjunctionQueryScorer + func (s *DisjunctionQueryScorer) Score(ctx *search.SearchContext, constituents []*search.DocumentMatch, ...) *search.DocumentMatch + type TermQueryScorer struct + func NewTermQueryScorer(queryTerm []byte, queryField string, queryBoost float64, ...) *TermQueryScorer + func (s *TermQueryScorer) Score(ctx *search.SearchContext, termMatch *index.TermFieldDoc) *search.DocumentMatch + func (s *TermQueryScorer) SetQueryNorm(qnorm float64) + func (s *TermQueryScorer) Weight() float64