Class FilterCollector
java.lang.Object
org.apache.lucene.search.FilterCollector
org.apache.solr.search.grouping.collector.FilterCollector
- All Implemented Interfaces:
org.apache.lucene.search.Collector
public class FilterCollector
extends org.apache.lucene.search.FilterCollector
A collector that filters incoming doc ids that are not in the filter.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Fields inherited from class org.apache.lucene.search.FilterCollector
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.CollectorReturns the delegate collectororg.apache.lucene.search.LeafCollectorgetLeafCollector(org.apache.lucene.index.LeafReaderContext context) intMethods inherited from class org.apache.lucene.search.FilterCollector
scoreMode, setWeight, toString
-
Constructor Details
-
FilterCollector
-
-
Method Details
-
getLeafCollector
public org.apache.lucene.search.LeafCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext context) throws IOException - Specified by:
getLeafCollectorin interfaceorg.apache.lucene.search.Collector- Overrides:
getLeafCollectorin classorg.apache.lucene.search.FilterCollector- Throws:
IOException
-
getMatches
public int getMatches() -
getDelegate
public org.apache.lucene.search.Collector getDelegate()Returns the delegate collector- Returns:
- the delegate collector
-