diff --git a/config/vufind/config.ini b/config/vufind/config.ini
index 4fb7d5224271e0ee4608d3e2bd43a8776d7f6e1a..931a1ca8ede70f6d5e327f08be1d22c7087c378c 100644
--- a/config/vufind/config.ini
+++ b/config/vufind/config.ini
@@ -97,6 +97,9 @@ defaultModule   = Search
 defaultLoggedInModule = MyResearch
 ; When defaultLoggedInModule is used, this action will be triggered (default = Home)
 ;defaultLoggedInAction = Home
+; The search backend that VuFind will use in search boxes when nothing else is
+; specified (e.g. on user account pages, search history, etc.). Default = Solr
+;defaultSearchBackend = Solr
 ; The route VuFind will send users to following a log out operation. Set to false
 ; or omit to attempt to retain the user's current context after log out.
 ;logOutRoute = home
diff --git a/themes/bootstrap3/templates/search/searchbox.phtml b/themes/bootstrap3/templates/search/searchbox.phtml
index 51832a3fa5a3327ef7e74ee9df3312c4b6857ed3..75fd6c9e65b9941aaa88f606fba8a7d04fa1fd80 100644
--- a/themes/bootstrap3/templates/search/searchbox.phtml
+++ b/themes/bootstrap3/templates/search/searchbox.phtml
@@ -1,7 +1,8 @@
 <?php
     // Set default value if necessary:
     if (!isset($this->searchClassId)) {
-        $this->searchClassId = 'Solr';
+        $config = $this->config()->get('config');
+        $this->searchClassId = $config->Site->defaultSearchBackend ?? 'Solr';
     }
 
     // Load search actions and settings (if any):