net.sf.lucis.core.support
Class AllCollector
java.lang.Object
org.apache.lucene.search.Collector
net.sf.lucis.core.support.CountingCollector
net.sf.lucis.core.support.AllCollector
public final class AllCollector
- extends CountingCollector
A hit collector that collects the document index of all the hits.
- Author:
- Andres Rodriguez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllCollector
public AllCollector()
- Constructor.
setNextReader
public void setNextReader(IndexReader reader,
int docBase)
throws IOException
- Overrides:
setNextReader in class CountingCollector
- Throws:
IOException
collect
public void collect(int doc)
throws IOException
- Overrides:
collect in class CountingCollector
- Throws:
IOException
reset
public void reset()
- Resets the collector.
- Overrides:
reset in class CountingCollector
getBits
public OpenBitSet getBits()
Copyright © 2013. All Rights Reserved.