Package org.apache.lucene.search
Class PositiveScoresOnlyCollector
- java.lang.Object
-
- org.apache.lucene.search.FilterCollector
-
- org.apache.lucene.search.PositiveScoresOnlyCollector
-
- All Implemented Interfaces:
Collector
public class PositiveScoresOnlyCollector extends FilterCollector
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.search.FilterCollector
in
-
-
Constructor Summary
Constructors Constructor Description PositiveScoresOnlyCollector(Collector in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeafCollectorgetLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.-
Methods inherited from class org.apache.lucene.search.FilterCollector
scoreMode, setWeight, toString
-
-
-
-
Constructor Detail
-
PositiveScoresOnlyCollector
public PositiveScoresOnlyCollector(Collector in)
-
-
Method Detail
-
getLeafCollector
public LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Description copied from interface:CollectorCreate a newcollectorto collect the given context.- Specified by:
getLeafCollectorin interfaceCollector- Overrides:
getLeafCollectorin classFilterCollector- Parameters:
context- next atomic reader context- Throws:
IOException
-
-