View Source Snap.Aggregation (Snap v0.10.3)

Represents an individual aggregation dictionary from a Search Aggregation API response.

Summary

Types

@type t() :: %Snap.Aggregation{
  buckets: [map()],
  doc_count: integer(),
  doc_count_error_upper_bound: integer(),
  interval: integer(),
  sum_other_doc_count: integer(),
  value: integer()
}

Functions