diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-07-27 22:27:26 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-07-27 22:27:26 -0400 |
commit | 7fd1a166da4c040532bb8ff35584b330348366d2 (patch) | |
tree | eb804d8cdea2fee1ef694edbd11b97cd2e4cf3e2 /phpBB/install/database_update.php | |
parent | d1e56868667234b4d8ea61a79463c3e3e47efa80 (diff) | |
parent | f1729281e6f69202730c0926f3799da516fd3ae9 (diff) | |
download | forums-7fd1a166da4c040532bb8ff35584b330348366d2.tar forums-7fd1a166da4c040532bb8ff35584b330348366d2.tar.gz forums-7fd1a166da4c040532bb8ff35584b330348366d2.tar.bz2 forums-7fd1a166da4c040532bb8ff35584b330348366d2.tar.xz forums-7fd1a166da4c040532bb8ff35584b330348366d2.zip |
Merge PR #865 branch 'dhruvgoel92/feature/sphinx-fulltext-search' into develop
* dhruvgoel92/feature/sphinx-fulltext-search: (57 commits)
[feature/sphinx-fulltext-search] add sphinx to Authors file
[feature/sphinx-fulltext-search] add sphinxapi.php file
[feature/sphinx-fulltext-search] fix auth bug
[feature/sphinx-fulltext-search] remove unused property
[feature/sphinx-fulltext-search] use 9312 as default port
[feature/sphinx-fulltext-search] fix language of host config
[feature/sphinx-fulltext-search] fix sphinx for arbitary host
[feature/sphinx-fulltext-search] coding changes acc to phbb conventions
[feature/sphinx-fulltext-search] fixing comments
[feature/sphinx-fulltext-search] add trailing slash in language
[feature/sphinx-fulltext-search] improve port option
[feature/sphinx-fulltext-search] remove stopwords and config path
[feature/sphinx-fulltext-search] makes sql host configurable
[feature/sphinx-fulltext-search] use readonly instead of disabled
[feature/sphinx-fulltext-search] fix language keys' typo
[feature/sphinx-fulltext-search] remove note from db_tools
[feature/sphinx-fulltext-search] add support for postgres
[feature/sphinx-fulltext-search] add pgsql functionality
[feature/sphinx-fulltext-search] use Update in sphinx query
[feature/sphinx-fulltext-search] use CASE instead of IF
...
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r-- | phpBB/install/database_update.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 5f5cf41aac..1408db27be 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -2277,6 +2277,16 @@ function change_database_data(&$no_updates, $version) set_config('fulltext_postgres_max_word_len', 254); } + if (!isset($config['fulltext_sphinx_stopwords'])) + { + set_config('fulltext_sphinx_stopwords', 0); + } + + if (!isset($config['fulltext_sphinx_indexer_mem_limit'])) + { + set_config('fulltext_sphinx_indexer_mem_limit', 512); + } + if (!isset($config['load_jquery_cdn'])) { set_config('load_jquery_cdn', 0); |