Record counts are returned in two dgraph properties.

To retrieve the counts for regular (non-aggregated) or aggregated records beneath a given refinement (dimension value), use these dgraph properties:

For a given DimensionSearchResult object, request all dimension search results with:

The dimension search results for a given dimension are returned in a DimensionSearchResultGroup object.

For each dimension value in the group, you can return a DimLocation object from a DimLocationList. You can then return the DimVal object with:

To get a list of properties (PropertyMap object) associated with the dimension value, use:

Calling the PropertyMap.get() method (Java) or PropertyMap object (.NET) at this point, with the DGraph.Bins or DGraph.AggrBins argument will return a list of values associated with that property. This list should contain a single element, which is the count of non-aggregated or aggregated records beneath the given dimension value.




Copyright © Legal Notices