You are here

Activating Solr 4

This information describes how to activate the Solr 4 search mechanism in a manual SkyVault installation or when upgrading from a previous version.

Global properties file

  1. Open the <classpathRoot>\alfresco-global.properties file.
  2. Set the following properties:

    Property Description
    index.subsystem.name The subsystem type value. The default value is solr4.
    solr.host The host name where the Solr 4 instance is located.
    solr.port The port number on which the Solr 4 instance is running.
    solr.port.ssl The port number on which the Solr 4 SSL support is running.

    For example, some example properties for activating Solr 4 are:

    index.subsystem.name=solr4
    solr.host=localhost
    solr.port=8080
    solr.port.ssl=8443
  3. Save the global properties file and restart the SkyVault server.

Share Admin Console

  1. Open the Share Admin Console.
  2. Edit the following properties:

    Property Description
    index.subsystem.name Select the subsystem type value as solr4.
    solr.host The host name where the Solr 4 instance is located.
    solr.port The port number on which the Solr 4 instance is running.
    solr.port.ssl The port number on which the Solr 4 SSL support is running.
  3. Click Save.

JMX client

  1. Navigate to MBeans > SkyVault > Configuration > Search.
  2. Set the manager sourceBeanName to solr4.

    The subsystems have their own related properties. The managed - solr4 instance exposes the solr.base.url property.

  3. These can now be configured live and the subsystem redeployed.