Current section
Files
Jump to
Current section
Files
lib/exlasticsearch/response/hits.ex
defmodule ExlasticSearch.Response.Hits do
@moduledoc """
Elasticsearch hits response structure
"""
use ExlasticSearch.Response
schema do
field :max_score
field :total
has_many :hits, ExlasticSearch.Response.Record
end
end