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 + var DisjunctionMaxClauseCount = 0 + func ComputeGeoRange(term uint64, shift uint, sminLon, sminLat, smaxLon, smaxLat float64, ...) (onBoundary [][]byte, notOnBoundary [][]byte) + func NewFuzzySearcher(indexReader index.IndexReader, term string, prefix, fuzziness int, ...) (search.Searcher, error) + func NewGeoBoundingBoxSearcher(indexReader index.IndexReader, minLon, minLat, maxLon, maxLat float64, ...) (search.Searcher, error) + func NewGeoPointDistanceSearcher(indexReader index.IndexReader, centerLon, centerLat, dist float64, ...) (search.Searcher, error) + func NewMultiTermSearcher(indexReader index.IndexReader, terms []string, field string, boost float64, ...) (search.Searcher, error) + func NewMultiTermSearcherBytes(indexReader index.IndexReader, terms [][]byte, field string, boost float64, ...) (search.Searcher, error) + func NewNumericRangeSearcher(indexReader index.IndexReader, min *float64, max *float64, ...) (search.Searcher, error) + func NewRegexpSearcher(indexReader index.IndexReader, pattern *regexp.Regexp, field string, ...) (search.Searcher, error) + func NewTermPrefixSearcher(indexReader index.IndexReader, prefix string, field string, boost float64, ...) (search.Searcher, error) + func NewTermRangeSearcher(indexReader index.IndexReader, min, max []byte, ...) (search.Searcher, error) + type BooleanSearcher struct + func NewBooleanSearcher(indexReader index.IndexReader, mustSearcher search.Searcher, ...) (*BooleanSearcher, error) + func (s *BooleanSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *BooleanSearcher) Close() error + func (s *BooleanSearcher) Count() uint64 + func (s *BooleanSearcher) DocumentMatchPoolSize() int + func (s *BooleanSearcher) Min() int + func (s *BooleanSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *BooleanSearcher) SetQueryNorm(qnorm float64) + func (s *BooleanSearcher) Weight() float64 + type ConjunctionSearcher struct + func NewConjunctionSearcher(indexReader index.IndexReader, qsearchers []search.Searcher, ...) (*ConjunctionSearcher, error) + func (s *ConjunctionSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *ConjunctionSearcher) Close() (rv error) + func (s *ConjunctionSearcher) Count() uint64 + func (s *ConjunctionSearcher) DocumentMatchPoolSize() int + func (s *ConjunctionSearcher) Min() int + func (s *ConjunctionSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *ConjunctionSearcher) SetQueryNorm(qnorm float64) + func (s *ConjunctionSearcher) Weight() float64 + type DisjunctionSearcher struct + func NewDisjunctionSearcher(indexReader index.IndexReader, qsearchers []search.Searcher, min float64, ...) (*DisjunctionSearcher, error) + func (s *DisjunctionSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *DisjunctionSearcher) Close() (rv error) + func (s *DisjunctionSearcher) Count() uint64 + func (s *DisjunctionSearcher) DocumentMatchPoolSize() int + func (s *DisjunctionSearcher) Min() int + func (s *DisjunctionSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *DisjunctionSearcher) SetQueryNorm(qnorm float64) + func (s *DisjunctionSearcher) Weight() float64 + type DocIDSearcher struct + func NewDocIDSearcher(indexReader index.IndexReader, ids []string, boost float64, ...) (searcher *DocIDSearcher, err error) + func (s *DocIDSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *DocIDSearcher) Close() error + func (s *DocIDSearcher) Count() uint64 + func (s *DocIDSearcher) DocumentMatchPoolSize() int + func (s *DocIDSearcher) Min() int + func (s *DocIDSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *DocIDSearcher) SetQueryNorm(qnorm float64) + func (s *DocIDSearcher) Weight() float64 + type FilterFunc func(d *search.DocumentMatch) bool + type FilteringSearcher struct + func NewFilteringSearcher(s search.Searcher, filter FilterFunc) *FilteringSearcher + func (f *FilteringSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (f *FilteringSearcher) Close() error + func (f *FilteringSearcher) Count() uint64 + func (f *FilteringSearcher) DocumentMatchPoolSize() int + func (f *FilteringSearcher) Min() int + func (f *FilteringSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (f *FilteringSearcher) SetQueryNorm(n float64) + func (f *FilteringSearcher) Weight() float64 + type MatchAllSearcher struct + func NewMatchAllSearcher(indexReader index.IndexReader, boost float64, options search.SearcherOptions) (*MatchAllSearcher, error) + func (s *MatchAllSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *MatchAllSearcher) Close() error + func (s *MatchAllSearcher) Count() uint64 + func (s *MatchAllSearcher) DocumentMatchPoolSize() int + func (s *MatchAllSearcher) Min() int + func (s *MatchAllSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *MatchAllSearcher) SetQueryNorm(qnorm float64) + func (s *MatchAllSearcher) Weight() float64 + type MatchNoneSearcher struct + func NewMatchNoneSearcher(indexReader index.IndexReader) (*MatchNoneSearcher, error) + func (s *MatchNoneSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *MatchNoneSearcher) Close() error + func (s *MatchNoneSearcher) Count() uint64 + func (s *MatchNoneSearcher) DocumentMatchPoolSize() int + func (s *MatchNoneSearcher) Min() int + func (s *MatchNoneSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *MatchNoneSearcher) SetQueryNorm(qnorm float64) + func (s *MatchNoneSearcher) Weight() float64 + type OrderedSearcherList []search.Searcher + func (otrl OrderedSearcherList) Len() int + func (otrl OrderedSearcherList) Less(i, j int) bool + func (otrl OrderedSearcherList) Swap(i, j int) + type PhraseSearcher struct + func NewMultiPhraseSearcher(indexReader index.IndexReader, terms [][]string, field string, ...) (*PhraseSearcher, error) + func NewPhraseSearcher(indexReader index.IndexReader, terms []string, field string, ...) (*PhraseSearcher, error) + func (s *PhraseSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *PhraseSearcher) Close() error + func (s *PhraseSearcher) Count() uint64 + func (s *PhraseSearcher) DocumentMatchPoolSize() int + func (s *PhraseSearcher) Min() int + func (s *PhraseSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *PhraseSearcher) SetQueryNorm(qnorm float64) + func (s *PhraseSearcher) Weight() float64 + type TermSearcher struct + func NewTermSearcher(indexReader index.IndexReader, term string, field string, boost float64, ...) (*TermSearcher, error) + func NewTermSearcherBytes(indexReader index.IndexReader, term []byte, field string, boost float64, ...) (*TermSearcher, error) + func (s *TermSearcher) Advance(ctx *search.SearchContext, ID index.IndexInternalID) (*search.DocumentMatch, error) + func (s *TermSearcher) Close() error + func (s *TermSearcher) Count() uint64 + func (s *TermSearcher) DocumentMatchPoolSize() int + func (s *TermSearcher) Min() int + func (s *TermSearcher) Next(ctx *search.SearchContext) (*search.DocumentMatch, error) + func (s *TermSearcher) SetQueryNorm(qnorm float64) + func (s *TermSearcher) Weight() float64