aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-15 23:06:12 +0100
committerneodarz <neodarz@neodarz.net>2019-01-15 23:06:12 +0100
commitfb562ce9623c84f2eac5d3358d76caa634f709f2 (patch)
treea97e715fc44f89e278d23c54ffa39fb36964b7f6
parent86e51ff1a9050922d7d1df3fd323e1aa3e31f909 (diff)
downloadkhanindexer-fb562ce9623c84f2eac5d3358d76caa634f709f2.tar.xz
khanindexer-fb562ce9623c84f2eac5d3358d76caa634f709f2.zip
Set correct listen port for correct usage of searchd with some comments for explain why
Diffstat (limited to '')
-rw-r--r--sphinx_search.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/sphinx_search.conf b/sphinx_search.conf
index 350285f..5ba9c23 100644
--- a/sphinx_search.conf
+++ b/sphinx_search.conf
@@ -24,7 +24,10 @@ indexer {
}
searchd {
- listen = localhost:8080:http
+ # Use this if you want to use python api
+ listen = 9312
+ # Use this if you want to http api
+ #listen = localhost:8080:http
query_log = /tmp/query.log
binlog_path = /tmp/
read_timeout = 5