Class FilteredCollector

  • All Implemented Interfaces:
    org.apache.lucene.search.Collector

    public class FilteredCollector
    extends java.lang.Object
    implements org.apache.lucene.search.Collector
    • Constructor Summary

      Constructors 
      Constructor Description
      FilteredCollector​(org.apache.lucene.search.Collector collector, org.apache.lucene.search.Weight filter)  
    • Method Summary

      Modifier and Type Method Description
      org.apache.lucene.search.LeafCollector getLeafCollector​(org.apache.lucene.index.LeafReaderContext context)  
      boolean needsScores()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilteredCollector

        public FilteredCollector​(org.apache.lucene.search.Collector collector,
                                 org.apache.lucene.search.Weight filter)
    • Method Detail

      • getLeafCollector

        public org.apache.lucene.search.LeafCollector getLeafCollector​(org.apache.lucene.index.LeafReaderContext context)
                                                                throws java.io.IOException
        Specified by:
        getLeafCollector in interface org.apache.lucene.search.Collector
        Throws:
        java.io.IOException
      • needsScores

        public boolean needsScores()
        Specified by:
        needsScores in interface org.apache.lucene.search.Collector