Snap.Aggregation (Snap v0.13.0)

View Source

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

Summary

Types

t()

@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

new(response)