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

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

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

Specifies whether to expand the collapsed results.

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.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String