Class ContentSizeGroupingCollector

java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.solr.search.DelegatingCollector
org.alfresco.solr.query.ContentSizeGroupingCollector
All Implemented Interfaces:
org.apache.lucene.search.Collector, org.apache.lucene.search.LeafCollector

public class ContentSizeGroupingCollector extends org.apache.solr.search.DelegatingCollector
Author:
Andy
  • Field Summary

    Fields inherited from class org.apache.solr.search.DelegatingCollector

    context, delegate, docBase, leafDelegate, scorer, setLastDelegateCount
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContentSizeGroupingCollector(org.apache.solr.handler.component.ResponseBuilder rb, int scale, int buckets)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    collect(int doc)
     
    void
    doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
     
    void
     

    Methods inherited from class org.apache.solr.search.DelegatingCollector

    getDelegate, needsScores, setDelegate, setLastDelegate, setScorer

    Methods inherited from class org.apache.lucene.search.SimpleCollector

    getLeafCollector

    Methods inherited from class java.lang.Object

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

    • ContentSizeGroupingCollector

      public ContentSizeGroupingCollector(org.apache.solr.handler.component.ResponseBuilder rb, int scale, int buckets)
      Parameters:
      rb -
      buckets -
  • Method Details

    • doSetNextReader

      public void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
      Overrides:
      doSetNextReader in class org.apache.solr.search.DelegatingCollector
      Throws:
      IOException
    • collect

      public void collect(int doc) throws IOException
      Specified by:
      collect in interface org.apache.lucene.search.LeafCollector
      Overrides:
      collect in class org.apache.solr.search.DelegatingCollector
      Throws:
      IOException
    • finish

      public void finish() throws IOException
      Overrides:
      finish in class org.apache.solr.search.DelegatingCollector
      Throws:
      IOException