public class AssertingCollector extends Collector
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
void |
setNextReader(AtomicReaderContext context) |
void |
setScorer(Scorer scorer) |
static Collector |
wrap(Random random,
Collector other,
boolean inOrder) |
public void setScorer(Scorer scorer) throws IOException
setScorer in class CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class CollectorIOExceptionpublic void setNextReader(AtomicReaderContext context) throws IOException
setNextReader in class CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class CollectorCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.