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) |
ScoreMode |
scoreMode() |
void |
setScorer(Scorable scorer) |
getLeafCollector
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
competitiveIterator
public void setScorer(Scorable 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 ScoreMode scoreMode()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.