Browse Source

add searchd section example

main
ghost 1 year ago
parent
commit
cb98bbf683
  1. 15
      example/environment/sphinx.conf

15
example/environment/sphinx.conf

@ -54,3 +54,18 @@ indexer
{ {
mem_limit = 256M 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
}
Loading…
Cancel
Save