Beispiel #1
0
func (q *matchAllQuery) Searcher(i index.IndexReader, m *IndexMapping, explain bool) (search.Searcher, error) {
	return searchers.NewMatchAllSearcher(i, q.BoostVal, explain)
}
Beispiel #2
0
func (q *matchAllQuery) Searcher(i *indexImpl, explain bool) (search.Searcher, error) {
	return searchers.NewMatchAllSearcher(i.i, q.BoostVal, explain)
}