Scrypath.FacetSearchResult (scrypath v0.3.8)

Copy Markdown View Source

The result struct for high-cardinality facet value search.

Returned by Scrypath.search_facet_values/4.

Summary

Types

t()

@type t() :: %Scrypath.FacetSearchResult{
  facet_query: String.t() | nil,
  hits: [Scrypath.SearchResult.Facets.Bucket.t()],
  raw: map()
}

Functions

new(raw)

@spec new(map()) :: t()