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 LeafCollector
getLeafCollector(LeafReaderContext context)
Create a newcollector
to 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:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Overrides:
getLeafCollector
in classFilterCollector
- Parameters:
context
- next atomic reader context- Throws:
IOException
-
-