X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FSearch.setting.php;h=9afb73028777f600111c6117d9c4f9458dab5de3;hb=7d543448c609a05fc006bd40fd431b2fa83a2ec7;hp=5d1e1a41022cab0794732f2bd857f16238666416;hpb=7dee6a13d167a1dd2b4bf1075252bcb7e324c7e5;p=civicrm-core.git diff --git a/settings/Search.setting.php b/settings/Search.setting.php index 5d1e1a4102..9afb730287 100644 --- a/settings/Search.setting.php +++ b/settings/Search.setting.php @@ -1,7 +1,7 @@ array( 'group_name' => 'Search Preferences', 'group' => 'Search Preferences', @@ -54,6 +54,45 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.', - 'help_text' => null, + 'help_text' => NULL, + ), + 'enable_innodb_fts' => array( + 'group_name' => 'Search Preferences', + 'group' => 'Search Preferences', + 'name' => 'enable_innodb_fts', + 'prefetch' => 0, + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'default' => 0, + 'add' => '4.4', + 'title' => 'InnoDB Full Text Search', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => "Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)", + 'help_text' => NULL, + 'on_change' => array( + array('CRM_Core_InnoDBIndexer', 'onToggleFts'), + ), + ), + 'fts_query_mode' => array( + 'group_name' => 'Search Preferences', + 'group' => 'Search Preferences', + 'name' => 'fts_query_mode', + 'prefetch' => 0, + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 64, + 'maxlength' => 64, + ), + 'html_type' => 'Text', + 'default' => 'simple', + 'add' => '4.5', + 'title' => 'How to handle full-tet queries', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => NULL, + 'help_text' => NULL, ), );