public static class CheckHits.ExplanationAssertingSearcher extends IndexSearcher
CheckHits.ExplanationAsserter
IndexSearcher.LeafSlice
leafContexts, leafSlices, 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, createNormalizedWeight, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getIndexReader, getQueryCache, getQueryCachingPolicy, getSimilarity, getTopReaderContext, rewrite, search, search, search, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, 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-2016 Apache Software Foundation. All Rights Reserved.