From cb98bbf6839c158e69abcad0750673940c3eb71d Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 13 Sep 2023 19:23:27 +0300 Subject: [PATCH] add searchd section example --- example/environment/sphinx.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/example/environment/sphinx.conf b/example/environment/sphinx.conf index 5a237ce..b67c6a4 100644 --- a/example/environment/sphinx.conf +++ b/example/environment/sphinx.conf @@ -53,4 +53,19 @@ index magnet indexer { mem_limit = 256M +} + +searchd +{ + listen = 127.0.0.1:9306:mysql41 + log = /var/log/sphinxsearch/searchd.log + query_log = /var/log/sphinxsearch/query.log + pid_file = /run/sphinxsearch/searchd.pid + binlog_path = /var/lib/sphinxsearch/data + read_timeout = 5 + max_children = 30 + seamless_rotate = 1 + preopen_indexes = 1 + unlink_old = 1 + workers = threads # for RT to work } \ No newline at end of file