View Source Snap.Hit (Snap v0.12.1)
Represents an individual hit dictionary from a Search API response.
Summary
Types
@type t() :: %Snap.Hit{ explanation: map() | nil, fields: map() | nil, highlight: map() | nil, id: String.t(), index: String.t(), inner_hits: %{required(String.t()) => Snap.Hits.t()} | nil, matched_queries: [String.t()] | nil, score: float() | nil, sort: list() | nil, source: map() | nil, type: String.t() | nil }