Standalone Solr Server Quick Installation

Quickly install solr server in standalone mode.

Context

Follow the steps for a quick installation and configuration of the solr server on your local machine.

Procedure

  1. Enable the solrserver extension in your localextensions.xml file.

    The extension is now ready to use. For further information on configuring extensions, see Installation Based on Specified Extensions.

  2. Create a Solr server instance. You can use the default instance included in the solrserver extension.
    The default configuration is as follows:
    solrserver.instances.default.autostart=true
    solrserver.instances.default.mode=standalone
    solrserver.instances.default.hostname=localhost
    solrserver.instances.default.port=8983
    solrserver.instances.default.memory=512m
    If you need, you can override some of the properties in your local.properties file. For further information see: solrserver Extension.
  3. Start the SAP Commerce server.

    Because autostart is enabled for the default Solr server instance, the Solr server will be started and stopped together with the platform. For further information see: Installing SAP Commerce Manually and Installing SAP Commerce Using Installer Recipes.

  4. Configure SAP Commerce to use the Solr server.
    The most important attributes you should consider when updating the Solr server configuration are:
    • Mode: set it to standalone.

    • Endpoint URLs: should contain a single master URL with the the following value: http://localhost:8983/solr.

    For details on how to easily configure the Solr server settings with the Backoffice Administration Cockpit see: Create Facet Search Configuration.