aboutsummaryrefslogtreecommitdiff
path: root/sphinx_search.conf
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-20 00:24:49 +0100
committerneodarz <neodarz@neodarz.net>2019-01-20 00:32:27 +0100
commit5ffbc1172738e8ee26c934f4a82d2d3bbc3a5b37 (patch)
treeeca96ba661d1b6bf934abdf3bb0db23da6c7392f /sphinx_search.conf
parentaeaf4cb8cdd6d413cbd9e9d3c1156bd23bd0b386 (diff)
downloadkhanindexer-5ffbc1172738e8ee26c934f4a82d2d3bbc3a5b37.tar.xz
khanindexer-5ffbc1172738e8ee26c934f4a82d2d3bbc3a5b37.zip
Use Manticorsearch JSON API instead of custom search API
The migration is due to the fact that python use far more ressources that a simple JSON POST request directly on the Manticorsearch server.
Diffstat (limited to 'sphinx_search.conf')
-rw-r--r--sphinx_search.conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/sphinx_search.conf b/sphinx_search.conf
index 7740000..83947b1 100644
--- a/sphinx_search.conf
+++ b/sphinx_search.conf
@@ -45,10 +45,7 @@ indexer {
}
searchd {
- # Use this if you want to use python api
- listen = 9312
- # Use this if you want to http api
- #listen = localhost:8080:http
+ listen = 0.0.0.0:8080:http
query_log = /tmp/query.log
binlog_path = /tmp/
read_timeout = 5