public static class CheckHits.ExplanationAssertingSearcher extends IndexSearcher
CheckHits.ExplanationAsserter
IndexSearcher.LeafSlice
leafContexts, readerContext
Constructor and Description |
---|
ExplanationAssertingSearcher(IndexReader r) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkExplanations(Query q) |
void |
search(Query query,
Collector results) |
TopDocs |
search(Query query,
int n) |
TopFieldDocs |
search(Query query,
int n,
Sort sort) |
collectionStatistics, count, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getExecutor, getIndexReader, getQueryCache, getQueryCachingPolicy, getSimilarity, getSlices, getTopReaderContext, rewrite, search, search, search, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, termStatistics, termStatistics, toString
public ExplanationAssertingSearcher(IndexReader r)
protected void checkExplanations(Query q) throws IOException
IOException
public TopFieldDocs search(Query query, int n, Sort sort) throws IOException
search
in class IndexSearcher
IOException
public void search(Query query, Collector results) throws IOException
search
in class IndexSearcher
IOException
public TopDocs search(Query query, int n) throws IOException
search
in class IndexSearcher
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.