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 |
---|
ShardSearchingTestBase.NodeState.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) |
createNormalizedWeight, doc, doc, document, explain, explain, getDefaultSimilarity, getIndexReader, getSimilarity, getTopReaderContext, search, search, search, search, search, search, search, search, search, search, search, searchAfter, searchAfter, searchAfter, searchAfter, setSimilarity, slices, toString, wrapFilter
public ShardSearchingTestBase.NodeState.ShardIndexSearcher(long[] nodeVersions, IndexReader localReader, int nodeID)
public Query rewrite(Query original) throws IOException
rewrite
in class IndexSearcher
IOException
public TermStatistics termStatistics(Term term, TermContext context) throws IOException
termStatistics
in class IndexSearcher
IOException
public CollectionStatistics collectionStatistics(String field) throws IOException
collectionStatistics
in class IndexSearcher
IOException
public TopDocs search(Query query, int numHits) throws IOException
search
in class IndexSearcher
IOException
public TopDocs localSearch(Query query, int numHits) throws IOException
IOException
public TopDocs searchAfter(ScoreDoc after, Query query, int numHits) throws IOException
searchAfter
in class IndexSearcher
IOException
public TopDocs localSearchAfter(ScoreDoc after, Query query, int numHits) throws IOException
IOException
public TopFieldDocs search(Query query, int numHits, Sort sort) throws IOException
search
in class IndexSearcher
IOException
public TopFieldDocs localSearch(Query query, int numHits, Sort sort) throws IOException
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.