XmlFilterObjectAggregation Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Indicates if and how the query should be aggregated.

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public XmlIndexQueryQueryAggregate Aggregation { get; set; }

Property Value

Type: XmlIndexQueryQueryAggregate
The default value is None.

ArgumentOutOfRangeExceptionThe value is invalid

GroupAndCount will return distinct values from all fields chosen and a parameter named aggregatevalue that contains the count for distinct values. SelectDistinctValues will return the same as above except aggregatevalue. Only the field aggregatevalue will be returned for the first field specified. The DocumentId field will return 0 for all options except for None and pagesize will be ignored for all options other than None. By default, sorting is done on the aggregatevalue ASC, but can be changed.

See Also