Snap.Hits (Snap v0.14.0)
View SourceRepresents the hits dictionary returned from an ElasticSearch Search API response.
Implements Enumerable, so you can iterate directly over the struct.
Summary
Types
@type t() :: %Snap.Hits{ hits: [Snap.Hit.t()], max_score: float() | nil, total: map() | integer() }