About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


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

This is an old revision of the document!


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.

Configuration

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. 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.1571146055.txt.gz · Last modified: 2019/10/15 13:27 by demiankatz