public class TopLevelFixedBitSetCollector
extends org.apache.lucene.search.Collector
FixedBitSet instance.| Constructor and Description |
|---|
TopLevelFixedBitSetCollector(int maxDoc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
org.apache.lucene.util.FixedBitSet |
getBitSet() |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public TopLevelFixedBitSetCollector(int maxDoc)
maxDoc - The higest Lucene docid + 1 from a toplevel IndexReader / IndexSearcher.public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
setScorer in class org.apache.lucene.search.CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class org.apache.lucene.search.CollectorIOExceptionpublic void setNextReader(org.apache.lucene.index.AtomicReaderContext context)
throws IOException
setNextReader in class org.apache.lucene.search.CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class org.apache.lucene.search.Collectorpublic org.apache.lucene.util.FixedBitSet getBitSet()
FixedBitSetCopyright © 2013-2015. All Rights Reserved.