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.
indexing:re-indexing

This is an old revision of the document!


Re-Indexing VuFind

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 VuFind from running.

On Linux, you can run this command:

%> ./vufind.sh stop

Under Windows, you can stop the Jetty service or abort vufind.bat by hitting Ctrl-C, depending on how you have things working.

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*

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.

On Linux, you can run this command:

%> ./vufind.sh start

Under Windows, you can start the Jetty service or run vufind.bat (available in 1.0RC2 and later versions).

4. Import all of your records again.

See the instructions on the importing records page for details.

indexing/re-indexing.1369566050.txt.gz · Last modified: 2014/06/13 13:13 (external edit)