Name | Type | Default value | Description |
---|---|---|---|
topN | int | 1 | Maximum number of hits to display for a group. The remaining hits do not display in search results. Must be strictly positive. |
Name | Type | Description |
---|---|---|
Aggregation | com.exalead.search.v30.Aggregation* | Aggregation(s) to be evaluated sequentially on all the hits within a group, and stored as a virtual expression meta. To display the aggregation value in the grouped hit(s), add this meta name as a Hit content meta. |
GroupBy | com.exalead.search.v30.GroupBy* | Virtual expressions used to group, or collapse, hits in search results. Hits with the same value for an expression form one group. Hits with undefined values for the expression are never grouped. If empty, displays all hits in the search results. As with any virtual expression, it requires RAM-based index fields. |
SortHitsInGroupBy | com.exalead.search.v30.SortHitsInGroupBy* | Ordered list of expressions for sorting hits. The sort direction identifies the top N hits of a group. Hits with defined values are always listed higher than hits with undefined values. If empty, it uses the SortConfig by default. As with any virtual expression, it requires RAM-based index fields. |