Package org.apache.lucene.search.grouping

Examples of org.apache.lucene.search.grouping.TermSecondPassGroupingCollector


    this.needGroupCount = needGroupCount;
  }

  public List<Collector> create() throws IOException {
    List<Collector> collectors = new ArrayList<Collector>();
    secondPassCollector = new TermSecondPassGroupingCollector(
          field.getName(), firstPhaseGroups, groupSort, sortWithinGroup, maxDocPerGroup, needScores, needMaxScore, true
    );
    collectors.add(secondPassCollector);
    if (!needGroupCount) {
      return collectors;
View Full Code Here

TOP

Related Classes of org.apache.lucene.search.grouping.TermSecondPassGroupingCollector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.