Skip to content

Instantly share code, notes, and snippets.

@Stiivi
Created February 21, 2013 08:22
Show Gist options
  • Save Stiivi/5003163 to your computer and use it in GitHub Desktop.
Save Stiivi/5003163 to your computer and use it in GitHub Desktop.
Example sphinx configuration for cubes-search
source CUBE_NAME
{
type = xmlpipe2
xmlpipe_command = slicer-indexer --engine sphinx slicer.ini CUBE_NAME
}
index CUBE_NAME
{
source = CUBE_NAME
path = index/CUBE_NAME
docinfo = extern
charset_type = utf-8
enable_star = 1
min_word_len = 1
min_prefix_len = 3
}
searchd
{
log = search.log
query_log = query.log
pid_file = index/searchd.pid
seamless_rotate = 1
preopen_indexes = 0
unlink_old = 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment