Snap.SearchResponse (Snap v0.4.1) 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{
  hits: Snap.Hits.t(),
  pit_id: map() | nil,
  scroll_id: String.t() | nil,
  shards: map(),
  timed_out: boolean(),
  took: integer()
}

Link to this section Functions