[This is preliminary documentation and is subject to change.]
Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Property Value
Type: XmlIndexQueryQueryAggregateNone turns off aggregation, any other value applies a specific aggregation on the result.
Exception | Condition |
---|---|
InvalidEnumArgumentException |
This property was added in Content Studio version 5.3
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. The other three options requires that the value in field one will only contains integer values for all returned documents. Only the field aggregatevalue will be returned for the first field. DocumentId will return 0 for all options except for None and pagesize will be ignored. By default, sorting is done on the aggregatevalue ASC, but can be changed.