About Features Downloads Getting Started Documentation Events Support

Site Tools



As VuFind develops, from time to time or between releases you may be expected to re-index your records. If your data changes frequently, you may also find it worthwhile to do occasional refreshes to ensure that your index is accurate. Whenever you need to rebuild your index, simply follow these steps:

1. Stop Solr from running.

See the Starting and Stopping page for details.

2. Delete your index on the server.

VuFind's main index is found in the solr/biblio/index directory (as well as any spellcheck-related directories) under your installation. In Linux, you can issue this command from your VuFind base directory:

%> rm -rf solr/biblio/index solr/biblio/spell*

:!: Starting with VuFind 3.0, the paths will be solr/vufind/biblio/index and solr/vufind/biblio/spell* (adding a “/vufind/” directory inside the solr path to differentiate between VuFind-specific data and the vendor-supplied Solr distribution).

In Windows, you can easily delete the folders through Windows Explorer.

If you want to delete one of VuFind's secondary indexes (authority records, course reserves, etc.), the process is the same, but you just need to replace “biblio” with the name of the appropriate Solr core. Additionally, some cores will only have an “index” folder – the spell* folders are not always present.

3. Start the VuFind server back up.

See the Starting and Stopping page for details.

4. Import all of your records again.

See the instructions on the indexing page for details.

indexing/re-indexing.txt · Last modified: 2016/03/29 15:13 by demiankatz