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 TypeMethodDescriptionvoid
collect
(int doc) createManager
(int maxDoc) Creates aCollectorManager
that can concurrently collect matching docs in aFixedBitSet
protected void
doSetNextReader
(LeafReaderContext context) 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
-
Method Details
-
doSetNextReader
- Overrides:
doSetNextReader
in classSimpleCollector
- Throws:
IOException
-
collect
- Specified by:
collect
in interfaceLeafCollector
- Specified by:
collect
in classSimpleCollector
- Throws:
IOException
-
scoreMode
-
createManager
Creates aCollectorManager
that can concurrently collect matching docs in aFixedBitSet
-