From 156786b41c5cd838d1a44c4c308ea1c74479ca35 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Mon, 3 Oct 2022 14:04:05 +0300 Subject: [PATCH] feat(db): changed config for manticore 5 support #176 --- src/background/sphinx.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/background/sphinx.js b/src/background/sphinx.js index c964a4e..4be1777 100644 --- a/src/background/sphinx.js +++ b/src/background/sphinx.js @@ -61,9 +61,6 @@ const writeSphinxConfig = async (rootPath, dbPath, params = {}) => { rt_attr_json = info stored_only_fields = ipv4 - - ngram_len = 1 - ngram_chars = U+3000..U+2FA1F } 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.port}:mysql41 - max_children = 30 seamless_rotate = 1 preopen_indexes = 1 unlink_old = 1 - workers = threads # for RT to work pid_file = ${rootPath}/searchd.pid log = ${rootPath}/searchd.log query_log = ${rootPath}/query.log