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) |
getLeafCollector
public void setScorer(Scorer scorer) throws IOException
setScorer
in interface LeafCollector
setScorer
in class SimpleCollector
IOException
public void collect(int doc)
collect
in interface LeafCollector
collect
in class SimpleCollector
protected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader
in class SimpleCollector
IOException
public boolean needsScores()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.