About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools

Warning: This page has not been updated in over over a year and may be outdated or deprecated.

Using VuFind Without Solr

VuFind is most commonly used as a front-end for a local Solr index, but it can be used in other ways as well. See Third-Party Content for a list of supported providers.


1. Set defaultModule

The key to using VuFind without Solr is the defaultModule setting in config.ini.

By default, this setting is set to “Search,” which means that when you initially access VuFind's URL, you are forwarded to the Home action of the Search controller, which defaults the user to Solr searching.

If you prefer to use a different service, such as EDS or Summon, you can simply change this setting to the name of the appropriate controller, which in most cases will correspond to the name of the service you wish to access.

2. Adjust search box defaults

By default, VuFind's search box template defaults to Solr search options when accessed from “generic” pages such as user account pages or the search history screen. Depending on your VuFind version, you can configure this in different ways.

VuFind 6.1 or newer

The defaultSearchBackend setting in the [Site] section of config.ini can be used to control the default search box behavior. Set it to the name of the search backend you wish to use by default (e.g. EDS, Summon, etc.).

Earlier versions

This behavior is controlled by the search/searchbox.phtml template within your chosen theme. This is done with logic similar to:

if (!isset($this->searchClassId)) {
    $this->searchClassId = 'Solr';

You should copy this template into your local custom theme, and change 'Solr' to the backend ID of your chosen search system (e.g. 'Summon', 'EDS', etc.).

configuration/using_vufind_without_solr.txt · Last modified: 2019/10/23 19:05 by demiankatz