Class FilteredCollector
java.lang.Object
org.elasticsearch.common.lucene.search.FilteredCollector
- All Implemented Interfaces:
org.apache.lucene.search.Collector
-
Constructor Summary
ConstructorDescriptionFilteredCollector(org.apache.lucene.search.Collector collector, org.apache.lucene.search.Weight filter)
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.LeafCollector
getLeafCollector(org.apache.lucene.index.LeafReaderContext context)
org.apache.lucene.search.ScoreMode
-
Constructor Details
-
FilteredCollector
public FilteredCollector(org.apache.lucene.search.Collector collector, org.apache.lucene.search.Weight filter)
-
-
Method Details
-
getLeafCollector
public org.apache.lucene.search.LeafCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext context) throws IOException- Specified by:
getLeafCollector
in interfaceorg.apache.lucene.search.Collector
- Throws:
IOException
-
scoreMode
public org.apache.lucene.search.ScoreMode scoreMode()- Specified by:
scoreMode
in interfaceorg.apache.lucene.search.Collector
-