public class ShardSearchingTestBase.NodeState.ShardIndexSearcher extends IndexSearcher
IndexSearcher.LeafSlice| Modifier and Type | Field and Description |
|---|---|
int |
myNodeID |
long[] |
nodeVersions |
leafContexts, leafSlices, readerContext| Constructor and Description |
|---|
ShardIndexSearcher(long[] nodeVersions,
IndexReader localReader,
int nodeID) |
| Modifier and Type | Method and Description |
|---|---|
CollectionStatistics |
collectionStatistics(String field) |
TopDocs |
localSearch(Query query,
int numHits) |
TopFieldDocs |
localSearch(Query query,
int numHits,
Sort sort) |
TopDocs |
localSearchAfter(ScoreDoc after,
Query query,
int numHits) |
Query |
rewrite(Query original) |
TopDocs |
search(Query query,
int numHits) |
TopFieldDocs |
search(Query query,
int numHits,
Sort sort) |
TopDocs |
searchAfter(ScoreDoc after,
Query query,
int numHits) |
TermStatistics |
termStatistics(Term term,
TermContext context) |
count, createNormalizedWeight, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getIndexReader, getQueryCache, getQueryCachingPolicy, getSimilarity, getTopReaderContext, search, search, search, search, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, toStringpublic ShardIndexSearcher(long[] nodeVersions,
IndexReader localReader,
int nodeID)
public Query rewrite(Query original) throws IOException
rewrite in class IndexSearcherIOExceptionpublic TermStatistics termStatistics(Term term, TermContext context) throws IOException
termStatistics in class IndexSearcherIOExceptionpublic CollectionStatistics collectionStatistics(String field) throws IOException
collectionStatistics in class IndexSearcherIOExceptionpublic TopDocs search(Query query, int numHits) throws IOException
search in class IndexSearcherIOExceptionpublic TopDocs localSearch(Query query, int numHits) throws IOException
IOExceptionpublic TopDocs searchAfter(ScoreDoc after, Query query, int numHits) throws IOException
searchAfter in class IndexSearcherIOExceptionpublic TopDocs localSearchAfter(ScoreDoc after, Query query, int numHits) throws IOException
IOExceptionpublic TopFieldDocs search(Query query, int numHits, Sort sort) throws IOException
search in class IndexSearcherIOExceptionpublic TopFieldDocs localSearch(Query query, int numHits, Sort sort) throws IOException
IOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.