Apache Solr is a system for indexing and searching site content. Pantheon provides Apache Solr v3.6 as a service that works well for the majority of sites on the platform. No permission or action is required from Pantheon to use Solr.
However, If you are looking for additional features for more advanced use cases, you may want to consider an external Solr service.
The IndexDepot service offers a number of features including:
This article assumes that you have already enabled the ApacheSolr module.
To create your index, you’ll need to supply some information about it:
After filling out the appropriate fields, click Save to create your index. You will then receive an Index URI and a Host-Configuration (the host-configuration is simply a breakdown of the URI).
Note: Copy the URI before moving forward.
To get your index working with a Drupal site, set some configuration options in the ApacheSolr module. You can quickly reach the ApacheSolr settings page by appending the following to your site’s URL:
Provide two items to the ApacheSolr configuration: ServerURL: Paste the Index URI from IndexDepot here. Description: Briefly describe your index here.
When you’ve finished, click Save.
A schema must be pushed in each environment (Dev/Test/Live).
Now that you created the index and configured the ApacheSolr Drupal module to point to the new index, test the connection and make sure ApacheSolr can communicate with the IndexDepot Solr index.
admin/config/search/apachesolr/settings and click on your index.
To test the connection, simply click Test Connection.
If Drupal returns a success message like “Your site has contacted the Apache Solr server”, you have successfully set up your Index. If not, go back and complete the configuration steps above.
If you'd like to create custom configurations or manually edit your index, synonyms list, stopwords, etc., you can do so by clicking on the Edit Configuration Files icon on the Search Indexes page.