Typesensory.Model.SearchResultHit (Typesensory v0.1.0)

Link to this section Summary

Link to this section Types

@type t() :: %Typesensory.Model.SearchResultHit{
  document: %{optional(String.t()) => map()} | nil,
  geo_distance_meters: %{optional(String.t()) => integer()} | nil,
  highlight: %{optional(String.t()) => any()} | nil,
  highlights: [Typesensory.Model.SearchHighlight.t()] | nil,
  text_match: integer() | nil,
  vector_distance: float() | nil
}