Giza.SphinxQL.raw
You're seeing just the function
raw
, go back to Giza.SphinxQL module for more information.
Link to this function
raw(query, raw_query_string)
Return a SphinxQL query with it's raw field set allowing to run a custom client created query. Raw overrides other options such as select, where, etc. If you can't find functionality needed from the query helpers in this module, this is the best way to unlock the full feature set of sphinx.
Examples
iex> Giza.SphinxQL.new() |> Giza.SphinxQL.raw("SELECT id, WEIGHT() as w FROM posts_index WHERE MATCH('subetei the swift')")