aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-10-21 20:31:00 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-10-21 20:31:00 +0200
commit294c2c63c0d283ec5efd118657ecf795b6a45aa9 (patch)
tree125b3184af38a4913ab074707d446c66be18cf9f /phpBB/includes/search
parentd503272645d0f14daa2c2664e04dbdc33da9379e (diff)
downloadforums-294c2c63c0d283ec5efd118657ecf795b6a45aa9.tar
forums-294c2c63c0d283ec5efd118657ecf795b6a45aa9.tar.gz
forums-294c2c63c0d283ec5efd118657ecf795b6a45aa9.tar.bz2
forums-294c2c63c0d283ec5efd118657ecf795b6a45aa9.tar.xz
forums-294c2c63c0d283ec5efd118657ecf795b6a45aa9.zip
[ticket/9595] List min/max characters indexed by search for mysql_fulltext.
PHPBB3-9595
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php
index 0be3a10e5f..29cdd8ee9a 100644
--- a/phpBB/includes/search/fulltext_mysql.php
+++ b/phpBB/includes/search/fulltext_mysql.php
@@ -919,6 +919,14 @@ class fulltext_mysql extends search_backend
<dt><label>' . $user->lang['FULLTEXT_MYSQL_MBSTRING'] . '</label><br /><span>' . $user->lang['FULLTEXT_MYSQL_MBSTRING_EXPLAIN'] . '</span></dt>
<dd>' . (($this->mbstring_regex) ? $user->lang['YES'] : $user->lang['NO']). '</dd>
</dl>
+ <dl>
+ <dt><label>' . $user->lang['MIN_SEARCH_CHARS'] . ':</label><br /><span>' . $user->lang['FULLTEXT_MYSQL_MIN_SEARCH_CHARS_EXPLAIN'] . '</span></dt>
+ <dd>' . $config['fulltext_mysql_min_word_len'] . '</dd>
+ </dl>
+ <dl>
+ <dt><label>' . $user->lang['MAX_SEARCH_CHARS'] . ':</label><br /><span>' . $user->lang['FULLTEXT_MYSQL_MAX_SEARCH_CHARS_EXPLAIN'] . '</span></dt>
+ <dd>' . $config['fulltext_mysql_max_word_len'] . '</dd>
+ </dl>
';
// These are fields required in the config table