Giza.SphinxQL.suggest
You're seeing just the function
suggest
, go back to Giza.SphinxQL module for more information.
Link to this function
suggest(query, index, phrase, opts \\ [])
Shortcut helper function to form a suggestion query. Options can be passed to change the default limit and max edits (amount of levenstein distance acceptable, so 4 would mean 4 characters can be wrong)
Examples
iex> Giza.SphinxQL.new() |> Giza.SphinxQL.suggest("sbetei", "posts_index", [limit: 3, max_edits: 4])