View Source Snap.Hits (Snap v0.11.2)
Represents 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() }