Package org.apache.lucene.tests.search
Class FixedBitSetCollector
java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.tests.search.FixedBitSetCollector
- All Implemented Interfaces:
Collector,LeafCollector
Collector that accumulates matching docs in a
FixedBitSet-
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(int doc) createManager(int maxDoc) Creates aCollectorManagerthat can concurrently collect matching docs in aFixedBitSetprotected voiddoSetNextReader(LeafReaderContext context) Methods inherited from class org.apache.lucene.search.SimpleCollector
getLeafCollector, setScorerMethods 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
-
Method Details
-
doSetNextReader
- Overrides:
doSetNextReaderin classSimpleCollector- Throws:
IOException
-
collect
- Specified by:
collectin interfaceLeafCollector- Specified by:
collectin classSimpleCollector- Throws:
IOException
-
scoreMode
-
createManager
Creates aCollectorManagerthat can concurrently collect matching docs in aFixedBitSet
-