EMu and Texpress utilities impacted by Solr

The addition of the Solr indexing method affects a number of EMu and Texpress utilities:

EMu utilities

Utility

Details

emuindexing

The emuindexing utility has been extended to allow the indexing type, either solr or texpress, to be set on a table basis.

See Enabling Solr indexing for details.

emureindex

Solr does not require the indexes to be rebuilt on a regular basis. One of the advantages of Solr indexing is that tables are not rebuilt as part of the nightly / weekly maintenance system. The only time a Solr index needs to be rebuilt is if the schema changes, which typically only occurs when an installation is upgraded. Since tables with Solr indexing are not rebuilt when emureindex is normally executed, a new option -F can be used to force a Solr index to be rebuilt.

When an index rebuild commences a check is made for columns with indexing enabled but not used by the institution. The indexing on such columns is turned off to save disk space. In rare instances the indexing for a particular column may need to be preserved (for example the column is not used by the EMu client but by a web application). The Preserve Index Registry entry caters for this case. The format of the entry is:

System|Setting|Table|table|Preserve Index|column;column;...

where:

table

is the name of the table in which the index is to be preserved.

column;column;...

is a semicolon separated list of column names for which the indexing is to be preserved.

If all indexing is to be persisted for all tables, the EMUUPDATEINDEXES environment variable may be set to the value no. The environment variable can be set in the .profile-local file.

Texpress utilities

Utility

Details

texadmin

Solr indexing does not require any configuration so the Configure menu option is disabled when Solr indexing is enabled.

texanalyse

This command is only functional with Texpress indexing. An error message is displayed if the command is executed on a table with Solr indexing.

texconf

This command is only functional with Texpress indexing. An error message is displayed if the command is executed on a table with Solr indexing.

texdensity

This command is only functional with Texpress indexing. An error message is displayed if the command is executed on a table with Solr indexing.

texinit

When a table is initialized with texinit, any files not required by the selected indexing method are removed.

texlist

The percentage full value for a table with Solr indexing enabled is always 0.0%.

texrddump

This command is only functional with Texpress indexing. An error message is displayed if the command is executed on a table with Solr indexing.

texreindex

When a table's indexes are rebuilt with texreindex, any files not required by the selected indexing method are removed.

texupdindex

This command is only functional with Texpress indexing. An error message is displayed if the command is executed on a table with Solr indexing.