diff options
author | Nils Adermann <naderman@naderman.de> | 2008-11-26 19:17:52 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2008-11-26 19:17:52 +0000 |
commit | 63b089f6535cf53ec8bec87decf56caab30bd0ad (patch) | |
tree | 8bea4bb9446d1a87ad85dbd2fef1b2684de6e295 /phpBB | |
parent | 05e8d9ee095ca4ea1039092fc75e93f888e60397 (diff) | |
download | forums-63b089f6535cf53ec8bec87decf56caab30bd0ad.tar forums-63b089f6535cf53ec8bec87decf56caab30bd0ad.tar.gz forums-63b089f6535cf53ec8bec87decf56caab30bd0ad.tar.bz2 forums-63b089f6535cf53ec8bec87decf56caab30bd0ad.tar.xz forums-63b089f6535cf53ec8bec87decf56caab30bd0ad.zip |
Tell users to recreate the search index after changing the common word threshold for fulltext_native (Bug #36345)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9126 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/includes/search/fulltext_native.php | 2 | ||||
-rw-r--r-- | phpBB/language/en/acp/search.php | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 3d3c31a8b1..221a255390 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -97,6 +97,7 @@ <li>[Fix] Make searching for members by YIM address work in prosilver</li> <li>[Change] Alllow applications to set custom module inclusion path (idea by HoL)</li> <li>[Change] Handle checking for duplicate usernames in chunks (Bug #17285 - Patch by A_Jelly_Doughnut)</li> + <li>[Fix] Tell users to recreate the search index after changing the common word threshold for fulltext_native (Bug #36345)</li> </ul> <a name="v302"></a><h3>1.ii. Changes since 3.0.2</h3> diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php index 9bd3c81311..0a3fe3754f 100644 --- a/phpBB/includes/search/fulltext_native.php +++ b/phpBB/includes/search/fulltext_native.php @@ -1674,7 +1674,7 @@ class fulltext_native extends search_backend </dl> <dl> <dt><label for="fulltext_native_common_thres">' . $user->lang['COMMON_WORD_THRESHOLD'] . ':</label><br /><span>' . $user->lang['COMMON_WORD_THRESHOLD_EXPLAIN'] . '</span></dt> - <dd><input id="fulltext_native_common_thres" type="text" size="3" maxlength="3" name="config[fulltext_native_common_thres]" value="' . (int) $config['fulltext_native_common_thres'] . '" /> %</dd> + <dd><input id="fulltext_native_common_thres" type="text" size="3" maxlength="3" name="config[fulltext_native_common_thres]" value="' . (double) $config['fulltext_native_common_thres'] . '" /> %</dd> </dl> '; diff --git a/phpBB/language/en/acp/search.php b/phpBB/language/en/acp/search.php index 33aeccbc22..8d7efa3308 100644 --- a/phpBB/language/en/acp/search.php +++ b/phpBB/language/en/acp/search.php @@ -40,7 +40,7 @@ $lang = array_merge($lang, array( 'ACP_SEARCH_SETTINGS_EXPLAIN' => 'Here you can define what search backend will be used for indexing posts and performing searches. You can set various options that can influence how much processing these actions require. Some of these settings are the same for all search engine backends.', 'COMMON_WORD_THRESHOLD' => 'Common word threshold', - 'COMMON_WORD_THRESHOLD_EXPLAIN' => 'Words which are contained in a greater percentage of all posts will be regarded as common. Common words are ignored in search queries. Set to zero to disable. Only takes effect if there are more than 100 posts.', + 'COMMON_WORD_THRESHOLD_EXPLAIN' => 'Words which are contained in a greater percentage of all posts will be regarded as common. Common words are ignored in search queries. Set to zero to disable. Only takes effect if there are more than 100 posts. If you want words that are currently regarded as common to be reconsidered you have to recreate the index.', 'CONFIRM_SEARCH_BACKEND' => 'Are you sure you wish to switch to a different search backend? After changing the search backend you will have to create an index for the new search backend. If you don’t plan on switching back to the old search backend you can also delete the old backend’s index in order to free system resources.', 'CONTINUE_DELETING_INDEX' => 'Continue previous index removal process', 'CONTINUE_DELETING_INDEX_EXPLAIN' => 'An index removal process has been started. In order to access the search index page you will have to complete it or cancel it.', |