public static class CheckHits.ExplanationAsserter extends SimpleCollector
Constructor and Description |
---|
ExplanationAsserter(Query q,
String defaultFieldName,
IndexSearcher s)
Constructs an instance which does shallow tests on the Explanation
|
ExplanationAsserter(Query q,
String defaultFieldName,
IndexSearcher s,
boolean deep) |
Modifier and Type | Method and Description |
---|---|
void |
collect(int doc) |
protected void |
doSetNextReader(LeafReaderContext context) |
ScoreMode |
scoreMode() |
void |
setScorer(Scorable scorer) |
getLeafCollector
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
competitiveIterator
public ExplanationAsserter(Query q, String defaultFieldName, IndexSearcher s)
public ExplanationAsserter(Query q, String defaultFieldName, IndexSearcher s, boolean deep)
public void setScorer(Scorable scorer) throws IOException
setScorer
in interface LeafCollector
setScorer
in class SimpleCollector
IOException
public void collect(int doc) throws IOException
collect
in interface LeafCollector
collect
in class SimpleCollector
IOException
protected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader
in class SimpleCollector
IOException
public ScoreMode scoreMode()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.