public class PositiveScoresOnlyCollector extends FilterCollector
in
Constructor and Description |
---|
PositiveScoresOnlyCollector(Collector in) |
Modifier and Type | Method and Description |
---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
needsScores, toString
public PositiveScoresOnlyCollector(Collector in)
public LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Collector
collector
to collect the given context.getLeafCollector
in interface Collector
getLeafCollector
in class FilterCollector
context
- next atomic reader contextIOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.