Read a resource's search do … end configuration.
Summary
Functions
Name of the generated read action.
Language used to stem the query when the search argument is omitted.
Attributes indexed for search.
Configured GIN index name, or nil to derive it from the table.
Attribute holding each row's language.
Whether the search matches the query tokens as prefixes (search-as-you-type).
Whether results are ranked by ts_rank (and the :search_rank calc is exposed).
Attribute the stemmed tokens are stored in.
The {text, weight} segments for record, in fields order.
Synonym map to expand the query with for language (see SearchAsh.Synonyms.resolve/2).
%{} when unset, so callers can pass the result straight to SearchCore.tsquery/3.
Per-field rank weights (%{field => :a | :b | :c | :d}); unlisted fields are :d.
Functions
Name of the generated read action.
Language used to stem the query when the search argument is omitted.
Attributes indexed for search.
Configured GIN index name, or nil to derive it from the table.
Attribute holding each row's language.
Whether the search matches the query tokens as prefixes (search-as-you-type).
Whether results are ranked by ts_rank (and the :search_rank calc is exposed).
Attribute the stemmed tokens are stored in.
The {text, weight} segments for record, in fields order.
Synonym map to expand the query with for language (see SearchAsh.Synonyms.resolve/2).
%{} when unset, so callers can pass the result straight to SearchCore.tsquery/3.
Per-field rank weights (%{field => :a | :b | :c | :d}); unlisted fields are :d.