Package org.apache.lucene.tests.search
Class CheckHits.MatchesAsserter
- java.lang.Object
-
- org.apache.lucene.search.SimpleCollector
-
- org.apache.lucene.tests.search.CheckHits.MatchesAsserter
-
- All Implemented Interfaces:
Collector
,LeafCollector
- Enclosing class:
- CheckHits
public static class CheckHits.MatchesAsserter extends SimpleCollector
-
-
Constructor Summary
Constructors Constructor Description MatchesAsserter(Query query, IndexSearcher searcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect(int doc)
protected void
doSetNextReader(LeafReaderContext context)
ScoreMode
scoreMode()
-
Methods inherited from class org.apache.lucene.search.SimpleCollector
getLeafCollector, setScorer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.search.LeafCollector
collect, competitiveIterator, finish
-
-
-
-
Constructor Detail
-
MatchesAsserter
public MatchesAsserter(Query query, IndexSearcher searcher) throws IOException
- Throws:
IOException
-
-
Method Detail
-
doSetNextReader
protected void doSetNextReader(LeafReaderContext context) throws IOException
- Overrides:
doSetNextReader
in classSimpleCollector
- Throws:
IOException
-
collect
public void collect(int doc) throws IOException
- Specified by:
collect
in interfaceLeafCollector
- Specified by:
collect
in classSimpleCollector
- Throws:
IOException
-
scoreMode
public ScoreMode scoreMode()
-
-