public class ScorerIndexSearcher extends IndexSearcher
IndexSearcher.LeafSlice
leafContexts, readerContext
Constructor and Description |
---|
ScorerIndexSearcher(IndexReader r)
Creates a searcher searching the provided index.
|
ScorerIndexSearcher(IndexReader r,
Executor executor)
Creates a searcher searching the provided index.
|
Modifier and Type | Method and Description |
---|---|
protected void |
search(List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
collectionStatistics, count, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getExecutor, getIndexReader, getQueryCache, getQueryCachingPolicy, getSimilarity, getSlices, getTopReaderContext, rewrite, search, search, search, search, search, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, termStatistics, termStatistics, toString
public ScorerIndexSearcher(IndexReader r, Executor executor)
Executor
.public ScorerIndexSearcher(IndexReader r)
IndexSearcher.IndexSearcher(IndexReader)
protected void search(List<LeafReaderContext> leaves, Weight weight, Collector collector) throws IOException
search
in class IndexSearcher
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.