Skip to content

Solr config

dneumann edited this page Feb 28, 2018 · 3 revisions

This component holds all the necessary configuration files that are needed to operate a Solr server.

There are two directories, each for one Solr core. The core that is visible to the outer world is the 'online core'. It contains the standard Solr configuration files and a component which consists of modifications for Solr. Those modifications are a project of their own. For more information about it, refer to https://github.com/subugoe/fwb-solr-mods.

The 'import core' reuses all the configuration of the 'online core', so that the two are always equivalent to each other. The idea is that they can be easily switched, or 'swapped' in Solr terminology. Technically speaking, the swapping is just a switching of the names. This means that at runtime, it is not possible, nor desirable to determine which core was originally the 'online core' and which one the 'import core'.

The importer uploads the Solr XML files into the core whose name is currently 'import core'. After a successful upload, the names are switched and this newly filled core becomes the 'online core'.

Clone this wiki locally