Package org.apache.lucene.tests.search
Class CheckHits.SetCollector
java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.tests.search.CheckHits.SetCollector
- All Implemented Interfaces:
Collector,LeafCollector
- Enclosing class:
CheckHits
Just collects document ids into a set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(int doc) protected voiddoSetNextReader(LeafReaderContext context) voidMethods inherited from class org.apache.lucene.search.SimpleCollector
getLeafCollectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.search.LeafCollector
collect, competitiveIterator, finish
-
Constructor Details
-
SetCollector
-
-
Method Details
-
setScorer
- Specified by:
setScorerin interfaceLeafCollector- Overrides:
setScorerin classSimpleCollector- Throws:
IOException
-
collect
public void collect(int doc) - Specified by:
collectin interfaceLeafCollector- Specified by:
collectin classSimpleCollector
-
doSetNextReader
- Overrides:
doSetNextReaderin classSimpleCollector- Throws:
IOException
-
scoreMode
-