feat(db): changed config for manticore 5 support #176
This commit is contained in:
parent
cf47d25d67
commit
156786b41c
@ -61,9 +61,6 @@ const writeSphinxConfig = async (rootPath, dbPath, params = {}) => {
|
|||||||
rt_attr_json = info
|
rt_attr_json = info
|
||||||
|
|
||||||
stored_only_fields = ipv4
|
stored_only_fields = ipv4
|
||||||
|
|
||||||
ngram_len = 1
|
|
||||||
ngram_chars = U+3000..U+2FA1F
|
|
||||||
}
|
}
|
||||||
|
|
||||||
index files
|
index files
|
||||||
@ -112,11 +109,9 @@ const writeSphinxConfig = async (rootPath, dbPath, params = {}) => {
|
|||||||
{
|
{
|
||||||
listen = 127.0.0.1:${appConfig.sphinx.interfacePort}
|
listen = 127.0.0.1:${appConfig.sphinx.interfacePort}
|
||||||
listen = 127.0.0.1:${appConfig.sphinx.port}:mysql41
|
listen = 127.0.0.1:${appConfig.sphinx.port}:mysql41
|
||||||
max_children = 30
|
|
||||||
seamless_rotate = 1
|
seamless_rotate = 1
|
||||||
preopen_indexes = 1
|
preopen_indexes = 1
|
||||||
unlink_old = 1
|
unlink_old = 1
|
||||||
workers = threads # for RT to work
|
|
||||||
pid_file = ${rootPath}/searchd.pid
|
pid_file = ${rootPath}/searchd.pid
|
||||||
log = ${rootPath}/searchd.log
|
log = ${rootPath}/searchd.log
|
||||||
query_log = ${rootPath}/query.log
|
query_log = ${rootPath}/query.log
|
||||||
|
Loading…
Reference in New Issue
Block a user