Modifier and Type | Method and Description |
---|---|
GroupingSearch |
GroupingSearch.disableCaching()
Disables any enabled cache.
|
GroupingSearch |
GroupingSearch.setAllGroupHeads(boolean allGroupHeads)
Whether to compute all group heads (most relevant document per group) matching the query.
|
GroupingSearch |
GroupingSearch.setAllGroups(boolean allGroups)
Whether to also compute all groups matching the query.
|
GroupingSearch |
GroupingSearch.setCaching(int maxDocsToCache,
boolean cacheScores)
Enables caching for the second pass search.
|
GroupingSearch |
GroupingSearch.setCachingInMB(double maxCacheRAMMB,
boolean cacheScores)
Enables caching for the second pass search.
|
GroupingSearch |
GroupingSearch.setGroupDocsLimit(int groupDocsLimit)
Specifies the number of documents to return inside a group from the specified groupDocsOffset.
|
GroupingSearch |
GroupingSearch.setGroupDocsOffset(int groupDocsOffset)
Specifies the offset for documents inside a group.
|
GroupingSearch |
GroupingSearch.setGroupSort(Sort groupSort)
Specifies how groups are sorted.
|
GroupingSearch |
GroupingSearch.setIncludeMaxScore(boolean includeMaxScore)
Whether to include the score of the most relevant document per group.
|
GroupingSearch |
GroupingSearch.setSortWithinGroup(Sort sortWithinGroup)
Specified how documents inside a group are sorted.
|
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.