CollapseConfiguration
class CollapseConfiguration
Specifies how to group results by document attribute value, and how to display them collapsed/expanded under a designated primary document for each group.
Types
Properties
Link copied to clipboard
The document attribute used to group search results. You can use any attribute that has the Sortable
flag set to true. You can also sort by any of the following built-in attributes:"_category","_created_at", "_last_updated_at", "_version", "_view_count".
Link copied to clipboard
Provides configuration information to customize expansion options for a collapsed group.
Link copied to clipboard
Specifies the behavior for documents without a value for the collapse attribute.
Link copied to clipboard
A prioritized list of document attributes/fields that determine the primary document among those in a collapsed group.