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