Magento Commerce, 1.14.x

Solr Server Configuration

A number of parameters must be set up in the Magento Admin to establish the connection to the Solr search engine. Solr can be installed either on the same server as Magento, or on a different server. The following instructions show how to enable Solr and complete the server-side of the Solr configuration. To learn more, see: Solr Installation and Configuration.


Solr Catalog Search (Server Settings) (Server Settings)

To enable Solr:

1. On the Admin menu, select System > Configuration. Then in the panel on the left, under Catalog, select Catalog.
2. Click to expand the Catalog Search section.
3. Set Search Engine to “Solr.” When the Solr options appear, do the following:
a. Enter the fully-qualified Solr Server Hostname or IP address.
b. Enter the number of the port that is assigned to be the Solr Server Port.
c. Enter the Solr Server Password.
d. In the Solr Server Timeout field, enter the number of seconds of inactivity that can pass before the connection times out.
e. For a standard Solr installation, you can accept the default Solr Server Path. For a custom deployment, enter the installation path.
f. Set Indexation Mode to one of the following:
  • Final commit

    (Default) Offers better performance than a partial commit, and users see the results immediately. Indexing begins after all unneeded data is removed and new data is added.

    Partial commit

    As content is gradually reindexed, users see only the indexed results. All content is removed after reindexing.

    Engine autocommit

    Content is put into the index queue but is not committed. To use autocommit, you must configure Solr to commit at regular intervals (for example, every 5 minutes) or when a certain number of uncommitted items is reached.

g. To verify the installation, click the Text Connection button.
4. When complete, click the Save Config button.
5. When the initial Solr installation is complete, complete the feature configuration to take full advantage of the capabilities of Solr.