Package org.apache.lucene.misc.search
Class MemoryAccountingBitsetCollector
java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.misc.search.MemoryAccountingBitsetCollector
- All Implemented Interfaces:
Collector,LeafCollector
Bitset collector which supports memory tracking
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(int doc) protected 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
-
Constructor Details
-
MemoryAccountingBitsetCollector
-
-
Method Details
-
doSetNextReader
- Overrides:
doSetNextReaderin classSimpleCollector- Throws:
IOException
-
collect
public void collect(int doc) - Specified by:
collectin interfaceLeafCollector- Specified by:
collectin classSimpleCollector
-
scoreMode
-