Java org.apache.lucene.search.grouping GroupingSearch fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search.grouping GroupingSearch fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search.grouping GroupingSearch.

The text is from its open source code.

Constructor

GroupingSearch(String groupField)
Constructs a GroupingSearch instance that groups documents by index terms using DocValues.
GroupingSearch(Query groupEndDocs)
Constructor for grouping documents by doc block.

Method

TopGroupssearch(IndexSearcher searcher, Query query, int groupOffset, int groupLimit)
Executes a grouped search.
GroupingSearchsetAllGroups(boolean allGroups)
Whether to also compute all groups matching the query.
GroupingSearchsetCachingInMB(double maxCacheRAMMB, boolean cacheScores)
Enables caching for the second pass search.
GroupingSearchsetGroupDocsLimit(int groupDocsLimit)
Specifies the number of documents to return inside a group from the specified groupDocsOffset.
GroupingSearchsetGroupSort(Sort groupSort)
Specifies how groups are sorted.
GroupingSearchsetSortWithinGroup(Sort sortWithinGroup)
Specified how documents inside a group are sorted.