Apache Solr Setup in cPanel

Apache Solr is an open source search platform built upon a Java library called Lucene. Solr can index and search multiple sites and return recommendations for related content based on the search query’s taxonomy because of this reason Solr is known as a popular search platform for Websites. Solr is also a popular search platform for enterprise search because it can be used to index and search documents and email attachments. Solr works with Hypertext Transfer Protocol (HTTP), Extensible Mark-up Language (XML). It also provides application program interfaces (APIs) for JavaScript Object Notation (JSON), Python, and Ruby.

In cPanel & WHM version 64, we introduced IMAP Full-Text Search Indexing (powered by Solr), which provides fast search capabilities for Internet Message Access Protocol (IMAP) mailboxes. This significantly improves the speed and convenience of the search experience for iOS device, Microsoft Outlook®, SquirrelMail, Horde, Roundcube, and Mozilla Thunderbird users.

We can enable this feature via the WHM’s Manage Plugins interface.

How to enable Solr feature in WHM

1) Log in to WHM

2) Search for ‘Manage Plugins’ in the search bar.

Apache Solr setup in cPanel

 

The Manage Plugins interface allows you to add and remove plugins. Plugins provide additional functionality for your server. The plugins that this interface lists vary from server to server.

3) To Install a Solr plugin, click install and Keep Updated checkbox for the plugin that you wish to install.

Apache Solr setup in cPanel

 

4) Click on the ‘Save’ bouton.

5) To uninstall a plugin, click Uninstall next to the plugin that you wish to uninstall.

Apache Solr setup in cPanel

 

We can enable this feature via the scripts also. Please check the following details.

The install_dovecot_fts Script

To enables Internet Message Access Protocol (IMAP) Full-Text Search (FTS) Indexing (powered by Solr), which provides fast search capabilities for IMAP mailboxes, we use the /usr/local/cpanel/scripts/install_dovecot_fts script. FTS significantly improves the speed and convenience of the search experience for iOS device, Microsoft Outlook®, SquirrelMail, Horde, Roundcube, and Mozilla Thunderbird users.

 

The /usr/local/cpanel/scripts/install_dovecot_fts script

If you want to use this script, you need to run the following command as the root user:

#/usr/local/cpanel/scripts/install_dovecot_fts

The /usr/local/cpanel/scripts/install_dovecot_fts script does not accept arguments.

When the script successfully completes, you will receive a message similar to the following:

Apache Solr setup in cPanel

 

To uninstall the Dovecot FTS indexing, run the following command:

#/usr/local/cpanel/scripts/uninstall_dovecot_fts

If you need any further help please do reach our support department at support@1onlyhost.net

Was this answer helpful? 0 Users Found This Useful (0 Votes)