Documentation ¶
Index ¶
- func NewConjunctionSearcher(searchers, negations search.Searchers) (search.Searcher, error)
- func NewDisjunctionSearcher(searchers search.Searchers) (search.Searcher, error)
- func NewEmptySearcher() search.Searcher
- func NewNegationSearcher(s search.Searcher) (search.Searcher, error)
- func NewRegexpSearcher(field []byte, compiled index.CompiledRegex) search.Searcher
- func NewTermSearcher(field, term []byte) search.Searcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConjunctionSearcher ¶
NewConjunctionSearcher returns a new Searcher which matches documents which match each of the given searchers and none of the negations.
func NewDisjunctionSearcher ¶
NewDisjunctionSearcher returns a new Searcher which matches documents which are matched by any of the given Searchers.
func NewEmptySearcher ¶
NewEmptySearcher returns a new searcher which always returns an empty postings list.
func NewNegationSearcher ¶
NewNegationSearcher returns a new searcher for finding documents which do not match a given query.
func NewRegexpSearcher ¶
func NewRegexpSearcher(field []byte, compiled index.CompiledRegex) search.Searcher
NewRegexpSearcher returns a new searcher for finding documents which match the given regular expression.
func NewTermSearcher ¶
NewTermSearcher returns a new searcher for finding documents which match the given term.
Types ¶
This section is empty.