commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / settings / Search.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.6 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2015 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CRM
31 * @copyright CiviCRM LLC (c) 2004-2015
32 * $Id$
33 *
34 */
35 /*
36 * Settings metadata file
37 */
38 return array(
39 'search_autocomplete_count' => array(
40 'group_name' => 'Search Preferences',
41 'group' => 'Search Preferences',
42 'name' => 'search_autocomplete_count',
43 'prefetch' => 0,
44 'type' => 'Integer',
45 'quick_form_type' => 'Element',
46 'html_type' => 'text',
47 'html_attributes' => array(
48 'size' => 2,
49 'maxlength' => 2,
50 ),
51 'default' => 10,
52 'add' => '4.3',
53 'title' => 'Autocomplete Results',
54 'is_domain' => 1,
55 'is_contact' => 0,
56 'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.',
57 'help_text' => NULL,
58 ),
59 'enable_innodb_fts' => array(
60 'group_name' => 'Search Preferences',
61 'group' => 'Search Preferences',
62 'name' => 'enable_innodb_fts',
63 'prefetch' => 0,
64 'type' => 'Boolean',
65 'quick_form_type' => 'YesNo',
66 'default' => 0,
67 'add' => '4.4',
68 'title' => 'InnoDB Full Text Search',
69 'is_domain' => 1,
70 'is_contact' => 0,
71 'description' => "Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)",
72 'help_text' => NULL,
73 'on_change' => array(
74 array('CRM_Core_InnoDBIndexer', 'onToggleFts'),
75 ),
76 ),
77 'fts_query_mode' => array(
78 'group_name' => 'Search Preferences',
79 'group' => 'Search Preferences',
80 'name' => 'fts_query_mode',
81 'prefetch' => 0,
82 'type' => 'String',
83 'quick_form_type' => 'Element',
84 'html_attributes' => array(
85 'size' => 64,
86 'maxlength' => 64,
87 ),
88 'html_type' => 'Text',
89 'default' => 'simple',
90 'add' => '4.5',
91 'title' => 'How to handle full-tet queries',
92 'is_domain' => 1,
93 'is_contact' => 0,
94 'description' => NULL,
95 'help_text' => NULL,
96 ),
97 );