summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-04-19 22:52:00 +0200
committerDylan William Hardison <dylan@hardison.net>2017-05-24 20:24:54 +0200
commitffe838a923696f81e8d8e1f24c5dc7a568cbc6ac (patch)
tree92894c1e927204b529759e8c3e9078720ce5e8bc /template/en/default/global
parent50fc9d77128db4f8565265047166c6ef61bac5c5 (diff)
downloadbugzilla-ffe838a923696f81e8d8e1f24c5dc7a568cbc6ac.tar.gz
bugzilla-ffe838a923696f81e8d8e1f24c5dc7a568cbc6ac.tar.xz
Bug 1348380 - Add param and user setting to control elasticsearch behavior
1) add an 'elasticsearch' param (configured via admin.cgi) that turns off all code that would attempt to connect to elasticsearch. 2) add a user preference that controls using elasticsearch for searches, which defaults to off for logged-in users. Anonymous users will default to using elasticsearch for the greater good. Note that elasticsearch, if available, will still power user-autocompletion (unless turned off as by the above parameter).
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/setting-descs.none.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/global/setting-descs.none.tmpl b/template/en/default/global/setting-descs.none.tmpl
index 368987da6..ba001ab6d 100644
--- a/template/en/default/global/setting-descs.none.tmpl
+++ b/template/en/default/global/setting-descs.none.tmpl
@@ -56,6 +56,7 @@
"possible_duplicates" => "Display possible duplicates when reporting a new $terms.bug",
"requestee_cc" => "Automatically add me to the CC list of $terms.bugs I am requested to review",
"api_key_only" => "Require API key authentication for API requests",
+ "use_elasticsearch" => "Use elasticsearch for $terms.bug searches when possible",
}
%]