diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2012-07-22 03:43:50 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2012-07-22 04:24:34 +0530 |
commit | 39bac86f7db881a1035bebad56507145103218d5 (patch) | |
tree | ee017322666c1d6a33a3469e51d413ca1b11d3e2 /phpBB/docs | |
parent | e40758db84a23bc7a2c5324dbedcd7f0911abeea (diff) | |
download | forums-39bac86f7db881a1035bebad56507145103218d5.tar forums-39bac86f7db881a1035bebad56507145103218d5.tar.gz forums-39bac86f7db881a1035bebad56507145103218d5.tar.bz2 forums-39bac86f7db881a1035bebad56507145103218d5.tar.xz forums-39bac86f7db881a1035bebad56507145103218d5.zip |
[feature/sphinx-fulltext-search] improve port option
Use listen instead of deprecated port value in sphinx config file.
sqlhost uses default $dbhost.
PHPBB3-10946
Diffstat (limited to 'phpBB/docs')
-rw-r--r-- | phpBB/docs/sphinx.sample.conf | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/docs/sphinx.sample.conf b/phpBB/docs/sphinx.sample.conf index d0a897e0cc..aa0e8d905d 100644 --- a/phpBB/docs/sphinx.sample.conf +++ b/phpBB/docs/sphinx.sample.conf @@ -5,7 +5,7 @@ source source_phpbb_{SPHINX_ID}_main sql_user = username sql_pass = password sql_db = db_name - sql_port = 3306 #optional, default is 3306 + sql_port = 3306 #optional, default is 3306 for mysql and 5432 for pgsql sql_query_pre = SET NAMES 'utf8' sql_query_pre = UPDATE phpbb_sphinx SET max_doc_id = MAX(post_id) WHERE counter_id = 1 sql_query_range = SELECT MIN(post_id), MAX(post_id) FROM phpbb_posts @@ -85,8 +85,7 @@ indexer searchd { compat_sphinxql_magics = 0 - listen = 127.0.0.1 - port = 3312 + listen = localhost:9312 log = {DATA_PATH}/log/searchd.log query_log = {DATA_PATH}/log/sphinx-query.log read_timeout = 5 |