Uses of Class
org.apache.lucene.search.grouping.GroupingSearch
-
Uses of GroupingSearch in org.apache.lucene.search.grouping
Methods in org.apache.lucene.search.grouping that return GroupingSearchModifier and TypeMethodDescriptionGroupingSearch.disableCaching()
Disables any enabled cache.GroupingSearch.setAllGroupHeads
(boolean allGroupHeads) Whether to compute all group heads (most relevant document per group) matching the query.GroupingSearch.setAllGroups
(boolean allGroups) Whether to also compute all groups matching the query.GroupingSearch.setCaching
(int maxDocsToCache, boolean cacheScores) Enables caching for the second pass search.GroupingSearch.setCachingInMB
(double maxCacheRAMMB, boolean cacheScores) Enables caching for the second pass search.GroupingSearch.setGroupDocsLimit
(int groupDocsLimit) Specifies the number of documents to return inside a group from the specified groupDocsOffset.GroupingSearch.setGroupDocsOffset
(int groupDocsOffset) Specifies the offset for documents inside a group.GroupingSearch.setGroupSort
(Sort groupSort) Specifies how groups are sorted.GroupingSearch.setIncludeMaxScore
(boolean includeMaxScore) Whether to include the score of the most relevant document per group.GroupingSearch.setSortWithinGroup
(Sort sortWithinGroup) Specified how documents inside a group are sorted.