giza_sphinxsearch v0.1.2 Giza.Service

The Giza genserver worker. Handles result calling that can be supervised and handled upon any issue or crash. This should be the main interface against which querying is done if choosing to start a worker.

Summary

Functions

GenServer.handle_call/3 callback

Send a query using the Sphinx HTTP API (Experimental)

GenServer.init/1 callback

Send a query using the native sphinx protocol

Send a query using SphinxQL (Recommended)

Functions

handle_call(msg, from, state)

GenServer.handle_call/3 callback

Handle request to query via SphinxQL

http_send(query)

Send a query using the Sphinx HTTP API (Experimental)

init(args)

GenServer.init/1 callback

Start http service and initialize sphinx with connection options that will be used in every query

send(query)

Send a query using the native sphinx protocol

sphinxql_send(query)

Send a query using SphinxQL (Recommended)

start_link(opts)
start_link(Keyword.t) :: GenServer.on_start