public class ToParentBlockJoinIndexSearcher extends IndexSearcher
IndexSearcher
to use in conjunction with
ToParentBlockJoinCollector
.IndexSearcher.LeafSlice
leafContexts, leafSlices, readerContext
Constructor and Description |
---|
ToParentBlockJoinIndexSearcher(IndexReader r)
Creates a searcher searching the provided index.
|
ToParentBlockJoinIndexSearcher(IndexReader r,
ExecutorService executor)
Creates a searcher searching the provided index.
|
Modifier and Type | Method and Description |
---|---|
protected void |
search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector)
Lower-level search API.
|
collectionStatistics, count, createNormalizedWeight, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getIndexReader, getSimilarity, getTopReaderContext, rewrite, search, search, search, search, search, search, search, search, search, searchAfter, searchAfter, searchAfter, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, termStatistics, toString, wrapFilter
public ToParentBlockJoinIndexSearcher(IndexReader r, ExecutorService executor)
ExecutorService
.public ToParentBlockJoinIndexSearcher(IndexReader r)
IndexSearcher.IndexSearcher(IndexReader)
protected void search(List<LeafReaderContext> leaves, Weight weight, Collector collector) throws IOException
IndexSearcher
LeafCollector.collect(int)
is called for every document.
NOTE: this method executes the searches on all given leaves exclusively.
To search across all the searchers leaves use IndexSearcher.leafContexts
.
search
in class IndexSearcher
leaves
- the searchers leaves to execute the searches onweight
- to match documentscollector
- to receive hitsIOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.