]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
Bug 1348380 - Add param and user setting to control elasticsearch behavior
authorDylan William Hardison <dylan@hardison.net>
Wed, 19 Apr 2017 20:52:00 +0000 (16:52 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 24 May 2017 18:24:54 +0000 (14:24 -0400)
commitffe838a923696f81e8d8e1f24c5dc7a568cbc6ac
tree92894c1e927204b529759e8c3e9078720ce5e8bc
parent50fc9d77128db4f8565265047166c6ef61bac5c5
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).
Bugzilla/Config/Elastic.pm
Bugzilla/Elastic.pm
Bugzilla/Install.pm
buglist.cgi
template/en/default/admin/params/elastic.html.tmpl
template/en/default/global/setting-descs.none.tmpl