mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
556 B
28 lines
556 B
#
|
|
# Minimal Sphinx configuration sample (clean, simple, functional)
|
|
#
|
|
|
|
|
|
searchd
|
|
{
|
|
listen = 9312
|
|
listen = 9306:mysql41
|
|
log = {$SERVER_APP}/index/searchd.log
|
|
query_log = {$SERVER_APP}/index/query.log
|
|
pid_file = {$SERVER_APP}/index/searchd.pid
|
|
#workers = threads # for RT to work
|
|
binlog_path = {$SERVER_APP}/index/binlog
|
|
read_timeout = 5
|
|
max_children = 0
|
|
seamless_rotate = 1
|
|
preopen_indexes = 1
|
|
unlink_old = 1
|
|
}
|
|
|
|
index mydocs
|
|
{
|
|
type = rt
|
|
path = {$SERVER_APP}/bin/doc
|
|
rt_field = title
|
|
rt_attr_json = j
|
|
} |