Snap.Hit (Snap v0.5.2) View Source

Represents an individual hit dictionary from a Search API response.

Link to this section Summary

Link to this section Types

Specs

t() :: %Snap.Hit{
  explanation: map() | nil,
  fields: map() | nil,
  highlight: map() | nil,
  id: String.t(),
  index: String.t(),
  inner_hits: map() | nil,
  matched_queries: [String.t()] | nil,
  score: float() | nil,
  source: map() | nil,
  type: String.t()
}

Link to this section Functions