public static class CheckHits.SetCollector extends SimpleCollector
| Constructor and Description |
|---|
SetCollector(Set<Integer> bag) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc) |
protected void |
doSetNextReader(LeafReaderContext context) |
boolean |
needsScores() |
void |
setScorer(Scorer scorer) |
getLeafCollectorpublic void setScorer(Scorer scorer) throws IOException
setScorer in interface LeafCollectorsetScorer in class SimpleCollectorIOExceptionpublic void collect(int doc)
collect in interface LeafCollectorcollect in class SimpleCollectorprotected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader in class SimpleCollectorIOExceptionpublic boolean needsScores()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.