Добавлена настройка соединения Sphinx (возможен Unix Socket)

This commit is contained in:
Jack Stdin
2016-02-21 00:15:12 +03:00
parent c2799674b3
commit 5a5c2211db
5 changed files with 14 additions and 9 deletions

View File

@@ -5,8 +5,7 @@ class basic:
class sphinx_conf:
host_name = "localhost"
port = 9312
listen = "127.0.0.1:9312"
index_addjobj = "idx_fias_addrobj"
index_sugg = "idx_fias_sugg"
var_dir = None

View File

@@ -4,8 +4,7 @@ from __future__ import absolute_import
from .common import *
sphinx_conf.host_name = "localhost"
sphinx_conf.port = 9312
sphinx_conf.listen = "127.0.0.1:9312"
sphinx_conf.var_dir = "C:\\Sphinx"
db_conf.database = "postgres"