Snap.SearchResponse (Snap v0.5.2) View Source
Represents the response from ElasticSearch's Search API.
Implements Enumerable
, so you can iterate directly over the struct.
Link to this section Summary
Link to this section Types
Specs
t() :: %Snap.SearchResponse{ aggregations: %{required(String.t()) => Snap.Aggregation.t()} | nil, hits: Snap.Hits.t(), pit_id: map() | nil, scroll_id: String.t() | nil, shards: map(), timed_out: boolean(), took: integer() }