Package org.apache.lucene.search
Class FilterCollector
- java.lang.Object
-
- org.apache.lucene.search.FilterCollector
-
- All Implemented Interfaces:
Collector
- Direct Known Subclasses:
CachingCollector
,PositiveScoresOnlyCollector
,ProfilerCollectorWrapper
,TopGroupsCollector.TopDocsAndMaxScoreCollector
public abstract class FilterCollector extends java.lang.Object implements Collector
Collector
delegator.
-
-
Constructor Summary
Constructors Constructor Description FilterCollector(Collector in)
Sole constructor.
-
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.ScoreMode
scoreMode()
Indicates what features are required from the scorer.java.lang.String
toString()
-
-
-
Field Detail
-
in
protected final Collector in
-
-
Constructor Detail
-
FilterCollector
public FilterCollector(Collector in)
Sole constructor.
-
-
Method Detail
-
getLeafCollector
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Parameters:
context
- next atomic reader context- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-