Giza.SphinxProtocol.max_matches
You're seeing just the function
max_matches
, go back to Giza.SphinxProtocol module for more information.
Link to this function
max_matches(query, max)
Return the maximum matches a query can return. Unlike limit, rather than page the returned results, it limits them before results are tabulated and returned and affects your total results count returned.
Examples
iex> Giza.SphinxProtocol.max_matches(query, 20)
{:giza_query, 'localhost', 9312, 0, 275,
"postsummary_fast_index postsummary_slow_index", 10, 25, 0, 0, 20, 0, 0, "",
"", 0, "@group desc", "searchforme", [], 0, [], [], 0}