Created
February 21, 2013 08:22
-
-
Save Stiivi/5003163 to your computer and use it in GitHub Desktop.
Example sphinx configuration for cubes-search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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