Giza.SphinxProtocol.query
You're seeing just the function
query
, go back to Giza.SphinxProtocol module for more information.
Link to this function
query(index, search_phrase)
Create a query based on the supplied index(es) and search phrase. This is the easiest way to start building a query to Sphinx and supports piping to all Giza.Query's interface. Returns a tuple suitable for sending to Giza's erlang parser for speaking the sphinx native format.
## Examples
iex> Giza.query('postsummary_fast_index postsummary_slow_index', 'baggy') {:giza_query, 'localhost', 9312, 0, 275, "postsummary_fast_index postsummary_slow_index", 0, 25, 0, 0, 1000, 0, 0, "", "", 0, "@group desc", "test", [], 0, [], [], 0}