Skip to main content

Aggregationresult

Properties

NameTypeDescriptionNotes
aggregationsobjectThe document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run. See Elasticsearch Aggregations documentation for information.[optional]
hits[]objectThe results of the aggregation search query.[optional]
}

Example

from sailpoint.search.models.aggregationresult import Aggregationresult

aggregationresult = Aggregationresult(
aggregations={"Identity Locations":{"buckets":[{"key":"Austin","doc_count":109},{"key":"London","doc_count":64},{"key":"San Jose","doc_count":27},{"key":"Brussels","doc_count":26},{"key":"Sao Paulo","doc_count":24},{"key":"Munich","doc_count":23},{"key":"Singapore","doc_count":22},{"key":"Tokyo","doc_count":20},{"key":"Taipei","doc_count":16}]}},
hits=[
sailpoint.search.models.searchdocuments.searchdocuments()
]
)

[Back to top]