Skip to main content

AggregationGroup

The AggregationGroup type represents a grouping of hotel search aggregation options.

type AggregationGroup {
groupKey: String!
selected: [AggregationOption!]!
discarded: [AggregationOption!]!
}

Fields

AggregationGroup.groupKey ● String! non-null scalar

Key used to group options when an aggregation plugin is executed. This key is used to group options that are similar and can be aggregated. It should not be modified and should not be used externally, as it is an internal TGX system identifier.

AggregationGroup.selected ● [AggregationOption!]! non-null object

List of AggregationOption objects that represent the options selected as winners for this group.

AggregationGroup.discarded ● [AggregationOption!]! non-null object

List of AggregationOption objects that are considered discardable or least relevant for this group.

Member Of

AggregationData object