Texpress options
Five Texpress options are available to configure Solr's interaction with EMu. The options are set and adjusted by the emuindexing
command
when the -s
option is applied (see Enable Solr indexing for details).
The options are:
Option |
Description |
---|---|
|
The type of indexing set for a given module. The allowable values are |
|
The URL used to contact the indexing engine. The For |
|
A prefix to be applied to the Solr core associated with the module where For example an institution may have production, test and development instances of their EMu installation. Each instance may have a version of the The default value for |
|
The location in which Solr files are stored. The default path for an EMu installation is in the |
|
If Solr indexing is enabled, this option indicates whether a JSON representation of the data should be stored with the indexing information. If the option is set to |
The -d
option may also be used for Solr indexing to enable generation of a JSON string containing the indexed record. In general, there is no need to set the options manually. When the indexing method changes from solr
to texpress
, the indexprefix
and indexurl
settings will remain as they are used by both texinit
(initialize a module) and emureindex
to remove Solr indexing files no longer required. The solrpath
option is set
in EMu's .profile
as a client-wide setting. The other options are set in the module's opts
file (data/{module}/opts
).
A typical opts
file with Solr indexing enabled will contain (amongst other settings):
indexing=solr
indexurl=http://localhost:8983
indexprefix=museum
When Texpress indexing is enabled, either no entries will exist in the opts
file or the indexing value will be set to texpress
.