Documentation ¶
Index ¶
- type BooleanSearcher
- func (s *BooleanSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *BooleanSearcher) Close()
- func (s *BooleanSearcher) Count() uint64
- func (s *BooleanSearcher) Min() int
- func (s *BooleanSearcher) Next() (*search.DocumentMatch, error)
- func (s *BooleanSearcher) SetQueryNorm(qnorm float64)
- func (s *BooleanSearcher) Weight() float64
- type ConjunctionSearcher
- func (s *ConjunctionSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *ConjunctionSearcher) Close()
- func (s *ConjunctionSearcher) Count() uint64
- func (s *ConjunctionSearcher) Min() int
- func (s *ConjunctionSearcher) Next() (*search.DocumentMatch, error)
- func (s *ConjunctionSearcher) SetQueryNorm(qnorm float64)
- func (s *ConjunctionSearcher) Weight() float64
- type DisjunctionSearcher
- func (s *DisjunctionSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *DisjunctionSearcher) Close()
- func (s *DisjunctionSearcher) Count() uint64
- func (s *DisjunctionSearcher) Min() int
- func (s *DisjunctionSearcher) Next() (*search.DocumentMatch, error)
- func (s *DisjunctionSearcher) SetQueryNorm(qnorm float64)
- func (s *DisjunctionSearcher) Weight() float64
- type MatchAllSearcher
- func (s *MatchAllSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *MatchAllSearcher) Close()
- func (s *MatchAllSearcher) Count() uint64
- func (s *MatchAllSearcher) Min() int
- func (s *MatchAllSearcher) Next() (*search.DocumentMatch, error)
- func (s *MatchAllSearcher) SetQueryNorm(qnorm float64)
- func (s *MatchAllSearcher) Weight() float64
- type MatchNoneSearcher
- func (s *MatchNoneSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *MatchNoneSearcher) Close()
- func (s *MatchNoneSearcher) Count() uint64
- func (s *MatchNoneSearcher) Min() int
- func (s *MatchNoneSearcher) Next() (*search.DocumentMatch, error)
- func (s *MatchNoneSearcher) SetQueryNorm(qnorm float64)
- func (s *MatchNoneSearcher) Weight() float64
- type NumericRangeSearcher
- func (s *NumericRangeSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *NumericRangeSearcher) Close()
- func (s *NumericRangeSearcher) Count() uint64
- func (s *NumericRangeSearcher) Min() int
- func (s *NumericRangeSearcher) Next() (*search.DocumentMatch, error)
- func (s *NumericRangeSearcher) SetQueryNorm(qnorm float64)
- func (s *NumericRangeSearcher) Weight() float64
- type OrderedSearcherList
- type PhraseSearcher
- func (s *PhraseSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *PhraseSearcher) Close()
- func (s *PhraseSearcher) Count() uint64
- func (s *PhraseSearcher) Min() int
- func (s *PhraseSearcher) Next() (*search.DocumentMatch, error)
- func (s *PhraseSearcher) SetQueryNorm(qnorm float64)
- func (s *PhraseSearcher) Weight() float64
- type TermPrefixSearcher
- func (s *TermPrefixSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *TermPrefixSearcher) Close()
- func (s *TermPrefixSearcher) Count() uint64
- func (s *TermPrefixSearcher) Min() int
- func (s *TermPrefixSearcher) Next() (*search.DocumentMatch, error)
- func (s *TermPrefixSearcher) SetQueryNorm(qnorm float64)
- func (s *TermPrefixSearcher) Weight() float64
- type TermSearcher
- func (s *TermSearcher) Advance(ID string) (*search.DocumentMatch, error)
- func (s *TermSearcher) Close()
- func (s *TermSearcher) Count() uint64
- func (s *TermSearcher) Min() int
- func (s *TermSearcher) Next() (*search.DocumentMatch, error)
- func (s *TermSearcher) SetQueryNorm(qnorm float64)
- func (s *TermSearcher) Weight() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BooleanSearcher ¶
type BooleanSearcher struct {
// contains filtered or unexported fields
}
func NewBooleanSearcher ¶
func (*BooleanSearcher) Advance ¶
func (s *BooleanSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*BooleanSearcher) Close ¶
func (s *BooleanSearcher) Close()
func (*BooleanSearcher) Count ¶
func (s *BooleanSearcher) Count() uint64
func (*BooleanSearcher) Min ¶
func (s *BooleanSearcher) Min() int
func (*BooleanSearcher) Next ¶
func (s *BooleanSearcher) Next() (*search.DocumentMatch, error)
func (*BooleanSearcher) SetQueryNorm ¶
func (s *BooleanSearcher) SetQueryNorm(qnorm float64)
func (*BooleanSearcher) Weight ¶
func (s *BooleanSearcher) Weight() float64
type ConjunctionSearcher ¶
type ConjunctionSearcher struct {
// contains filtered or unexported fields
}
func NewConjunctionSearcher ¶
func (*ConjunctionSearcher) Advance ¶
func (s *ConjunctionSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*ConjunctionSearcher) Close ¶
func (s *ConjunctionSearcher) Close()
func (*ConjunctionSearcher) Count ¶
func (s *ConjunctionSearcher) Count() uint64
func (*ConjunctionSearcher) Min ¶
func (s *ConjunctionSearcher) Min() int
func (*ConjunctionSearcher) Next ¶
func (s *ConjunctionSearcher) Next() (*search.DocumentMatch, error)
func (*ConjunctionSearcher) SetQueryNorm ¶
func (s *ConjunctionSearcher) SetQueryNorm(qnorm float64)
func (*ConjunctionSearcher) Weight ¶
func (s *ConjunctionSearcher) Weight() float64
type DisjunctionSearcher ¶
type DisjunctionSearcher struct {
// contains filtered or unexported fields
}
func NewDisjunctionSearcher ¶
func (*DisjunctionSearcher) Advance ¶
func (s *DisjunctionSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*DisjunctionSearcher) Close ¶
func (s *DisjunctionSearcher) Close()
func (*DisjunctionSearcher) Count ¶
func (s *DisjunctionSearcher) Count() uint64
func (*DisjunctionSearcher) Min ¶
func (s *DisjunctionSearcher) Min() int
func (*DisjunctionSearcher) Next ¶
func (s *DisjunctionSearcher) Next() (*search.DocumentMatch, error)
func (*DisjunctionSearcher) SetQueryNorm ¶
func (s *DisjunctionSearcher) SetQueryNorm(qnorm float64)
func (*DisjunctionSearcher) Weight ¶
func (s *DisjunctionSearcher) Weight() float64
type MatchAllSearcher ¶
type MatchAllSearcher struct {
// contains filtered or unexported fields
}
func NewMatchAllSearcher ¶
func (*MatchAllSearcher) Advance ¶
func (s *MatchAllSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*MatchAllSearcher) Close ¶
func (s *MatchAllSearcher) Close()
func (*MatchAllSearcher) Count ¶
func (s *MatchAllSearcher) Count() uint64
func (*MatchAllSearcher) Min ¶
func (s *MatchAllSearcher) Min() int
func (*MatchAllSearcher) Next ¶
func (s *MatchAllSearcher) Next() (*search.DocumentMatch, error)
func (*MatchAllSearcher) SetQueryNorm ¶
func (s *MatchAllSearcher) SetQueryNorm(qnorm float64)
func (*MatchAllSearcher) Weight ¶
func (s *MatchAllSearcher) Weight() float64
type MatchNoneSearcher ¶
type MatchNoneSearcher struct {
// contains filtered or unexported fields
}
func NewMatchNoneSearcher ¶
func NewMatchNoneSearcher(index index.Index) (*MatchNoneSearcher, error)
func (*MatchNoneSearcher) Advance ¶
func (s *MatchNoneSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*MatchNoneSearcher) Close ¶
func (s *MatchNoneSearcher) Close()
func (*MatchNoneSearcher) Count ¶
func (s *MatchNoneSearcher) Count() uint64
func (*MatchNoneSearcher) Min ¶
func (s *MatchNoneSearcher) Min() int
func (*MatchNoneSearcher) Next ¶
func (s *MatchNoneSearcher) Next() (*search.DocumentMatch, error)
func (*MatchNoneSearcher) SetQueryNorm ¶
func (s *MatchNoneSearcher) SetQueryNorm(qnorm float64)
func (*MatchNoneSearcher) Weight ¶
func (s *MatchNoneSearcher) Weight() float64
type NumericRangeSearcher ¶
type NumericRangeSearcher struct {
// contains filtered or unexported fields
}
func NewNumericRangeSearcher ¶
func (*NumericRangeSearcher) Advance ¶
func (s *NumericRangeSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*NumericRangeSearcher) Close ¶
func (s *NumericRangeSearcher) Close()
func (*NumericRangeSearcher) Count ¶
func (s *NumericRangeSearcher) Count() uint64
func (*NumericRangeSearcher) Min ¶
func (s *NumericRangeSearcher) Min() int
func (*NumericRangeSearcher) Next ¶
func (s *NumericRangeSearcher) Next() (*search.DocumentMatch, error)
func (*NumericRangeSearcher) SetQueryNorm ¶
func (s *NumericRangeSearcher) SetQueryNorm(qnorm float64)
func (*NumericRangeSearcher) Weight ¶
func (s *NumericRangeSearcher) Weight() float64
type OrderedSearcherList ¶
func (OrderedSearcherList) Len ¶
func (otrl OrderedSearcherList) Len() int
func (OrderedSearcherList) Less ¶
func (otrl OrderedSearcherList) Less(i, j int) bool
func (OrderedSearcherList) Swap ¶
func (otrl OrderedSearcherList) Swap(i, j int)
type PhraseSearcher ¶
type PhraseSearcher struct {
// contains filtered or unexported fields
}
func NewPhraseSearcher ¶
func NewPhraseSearcher(index index.Index, mustSearcher *ConjunctionSearcher, terms []string) (*PhraseSearcher, error)
func (*PhraseSearcher) Advance ¶
func (s *PhraseSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*PhraseSearcher) Close ¶
func (s *PhraseSearcher) Close()
func (*PhraseSearcher) Count ¶
func (s *PhraseSearcher) Count() uint64
func (*PhraseSearcher) Min ¶
func (s *PhraseSearcher) Min() int
func (*PhraseSearcher) Next ¶
func (s *PhraseSearcher) Next() (*search.DocumentMatch, error)
func (*PhraseSearcher) SetQueryNorm ¶
func (s *PhraseSearcher) SetQueryNorm(qnorm float64)
func (*PhraseSearcher) Weight ¶
func (s *PhraseSearcher) Weight() float64
type TermPrefixSearcher ¶
type TermPrefixSearcher struct {
// contains filtered or unexported fields
}
func NewTermPrefixSearcher ¶
func (*TermPrefixSearcher) Advance ¶
func (s *TermPrefixSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*TermPrefixSearcher) Close ¶
func (s *TermPrefixSearcher) Close()
func (*TermPrefixSearcher) Count ¶
func (s *TermPrefixSearcher) Count() uint64
func (*TermPrefixSearcher) Min ¶
func (s *TermPrefixSearcher) Min() int
func (*TermPrefixSearcher) Next ¶
func (s *TermPrefixSearcher) Next() (*search.DocumentMatch, error)
func (*TermPrefixSearcher) SetQueryNorm ¶
func (s *TermPrefixSearcher) SetQueryNorm(qnorm float64)
func (*TermPrefixSearcher) Weight ¶
func (s *TermPrefixSearcher) Weight() float64
type TermSearcher ¶
type TermSearcher struct {
// contains filtered or unexported fields
}
func NewTermSearcher ¶
func (*TermSearcher) Advance ¶
func (s *TermSearcher) Advance(ID string) (*search.DocumentMatch, error)
func (*TermSearcher) Close ¶
func (s *TermSearcher) Close()
func (*TermSearcher) Count ¶
func (s *TermSearcher) Count() uint64
func (*TermSearcher) Min ¶
func (s *TermSearcher) Min() int
func (*TermSearcher) Next ¶
func (s *TermSearcher) Next() (*search.DocumentMatch, error)
func (*TermSearcher) SetQueryNorm ¶
func (s *TermSearcher) SetQueryNorm(qnorm float64)
func (*TermSearcher) Weight ¶
func (s *TermSearcher) Weight() float64
Click to show internal directories.
Click to hide internal directories.