Class FilteredCollector

java.lang.Object
org.elasticsearch.common.lucene.search.FilteredCollector
All Implemented Interfaces:
org.apache.lucene.search.Collector

public class FilteredCollector extends Object implements org.apache.lucene.search.Collector
  • 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 interface org.apache.lucene.search.Collector
      Throws:
      IOException
    • scoreMode

      public org.apache.lucene.search.ScoreMode scoreMode()
      Specified by:
      scoreMode in interface org.apache.lucene.search.Collector