Package org.apache.lucene.search
Class FilterCollector
java.lang.Object
org.apache.lucene.search.FilterCollector
- All Implemented Interfaces:
Collector
- Direct Known Subclasses:
CachingCollector
,PositiveScoresOnlyCollector
Collector
delegator.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLeafCollector
(LeafReaderContext context) Create a newcollector
to collect the given context.Indicates what features are required from the scorer.toString()
-
Field Details
-
in
-
-
Constructor Details
-
FilterCollector
Sole constructor.
-
-
Method Details
-
getLeafCollector
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:
IOException
-
toString
-
scoreMode
Description copied from interface:Collector
Indicates what features are required from the scorer.
-