Giza.SphinxQL.option
You're seeing just the function
option
, go back to Giza.SphinxQL module for more information.
Link to this function
option(query, option)
Returns a SphinxQL query with an option added such as used for the expression ranker
Examples
iex> SphinxQL.new()
|> SphinxQL.option("ranker=expr('sum(lcs*user_weight)*1000+bm25'))")
|> SphinxQL.send()
%SphinxqlResponse{ .. }