public static class CheckHits.ExplanationAsserter extends SimpleCollector
| Constructor and Description |
|---|
CheckHits.ExplanationAsserter(Query q,
String defaultFieldName,
IndexSearcher s)
Constructs an instance which does shallow tests on the Explanation
|
CheckHits.ExplanationAsserter(Query q,
String defaultFieldName,
IndexSearcher s,
boolean deep) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc) |
protected void |
doSetNextReader(LeafReaderContext context) |
boolean |
needsScores() |
void |
setScorer(Scorer scorer) |
getLeafCollectorpublic CheckHits.ExplanationAsserter(Query q, String defaultFieldName, IndexSearcher s)
public CheckHits.ExplanationAsserter(Query q, String defaultFieldName, IndexSearcher s, boolean deep)
public void setScorer(Scorer scorer) throws IOException
setScorer in interface LeafCollectorsetScorer in class SimpleCollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in interface LeafCollectorcollect in class SimpleCollectorIOExceptionprotected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader in class SimpleCollectorIOExceptionpublic boolean needsScores()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.