|
|
@ -11,16 +11,16 @@ searchd |
|
|
|
{ |
|
|
|
{ |
|
|
|
listen = 9312 |
|
|
|
listen = 9312 |
|
|
|
listen = 9306:mysql41 |
|
|
|
listen = 9306:mysql41 |
|
|
|
log = /www/server/sphinx/index/searchd.log |
|
|
|
log = {$SERVER_APP}/index/searchd.log |
|
|
|
query_log = /www/server/sphinx/index/query.log |
|
|
|
query_log = {$SERVER_APP}/index/query.log |
|
|
|
read_timeout = 5 |
|
|
|
read_timeout = 5 |
|
|
|
max_children = 0 |
|
|
|
max_children = 0 |
|
|
|
pid_file = /www/server/sphinx/index/searchd.pid |
|
|
|
pid_file = {$SERVER_APP}/index/searchd.pid |
|
|
|
seamless_rotate = 1 |
|
|
|
seamless_rotate = 1 |
|
|
|
preopen_indexes = 1 |
|
|
|
preopen_indexes = 1 |
|
|
|
unlink_old = 1 |
|
|
|
unlink_old = 1 |
|
|
|
#workers = threads # for RT to work |
|
|
|
#workers = threads # for RT to work |
|
|
|
binlog_path = /www/server/sphinx/index/binlog |
|
|
|
binlog_path = {$SERVER_APP}/index/binlog |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
source search_hash |
|
|
|
source search_hash |
|
|
@ -63,7 +63,7 @@ source search_hash_delta : search_hash |
|
|
|
index search_hash |
|
|
|
index search_hash |
|
|
|
{ |
|
|
|
{ |
|
|
|
source = search_hash |
|
|
|
source = search_hash |
|
|
|
path = /www/server/sphinx/index/db/search_hash/index |
|
|
|
path = {$SERVER_APP}/index/db/search_hash/index |
|
|
|
|
|
|
|
|
|
|
|
ngram_len = 1 |
|
|
|
ngram_len = 1 |
|
|
|
ngram_chars = U+3000..U+2FA1F |
|
|
|
ngram_chars = U+3000..U+2FA1F |
|
|
@ -72,7 +72,7 @@ index search_hash |
|
|
|
index search_hash_delta : search_hash |
|
|
|
index search_hash_delta : search_hash |
|
|
|
{ |
|
|
|
{ |
|
|
|
source = search_hash_delta |
|
|
|
source = search_hash_delta |
|
|
|
path = /www/server/sphinx/index/db/search_hash_delta/index |
|
|
|
path = {$SERVER_APP}/index/db/search_hash_delta/index |
|
|
|
|
|
|
|
|
|
|
|
ngram_len = 1 |
|
|
|
ngram_len = 1 |
|
|
|
ngram_chars = U+3000..U+2FA1F |
|
|
|
ngram_chars = U+3000..U+2FA1F |
|
|
|