public static class CheckHits.ExplanationAsserter extends Collector
| 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 |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
void |
setNextReader(AtomicReaderContext context) |
void |
setScorer(Scorer scorer) |
public 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 class CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class CollectorIOExceptionpublic void setNextReader(AtomicReaderContext context)
setNextReader in class Collectorpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class CollectorCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.