Skip to content

Instantly share code, notes, and snippets.

@iolloyd
Created June 30, 2016 16:17
Show Gist options
  • Save iolloyd/b25b2af2c93447abba3d8a45613087fe to your computer and use it in GitHub Desktop.
Save iolloyd/b25b2af2c93447abba3d8a45613087fe to your computer and use it in GitHub Desktop.
Example configuration for sphinx
source base
{
type = mysql
sql_host = localhost
sql_user = root
sql_pass = root
sql_db = lookbooks_live
sql_port = 3306
}
source min : base
{
sql_query = select * from contacts
}
index idx_min
{
path = idx
source = min
}
searchd
{
listen = 9313
log = sphinx.log
pid_file = sphinx.pid
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment