Drupal is a registered trademark of Dries Buytaert
cms 2.1.0 Update released for Drupal core (2.1.0)! menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). editoria11y 2.2.21 Minor update available for module editoria11y (2.2.21). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1). seven 2.0.0-beta6 New beta version released for theme seven (2.0.0-beta6). seven 1.0.1-beta1 First beta version released for theme seven (1.0.1-beta1). config_distro 2.1.0 Minor update available for module config_distro (2.1.0). editoria11y 3.0.0-beta9 New beta version released for module editoria11y (3.0.0-beta9). crop Module crop crossed 1,000 active installs. entity_reference_revisions Module entity_reference_revisions crossed 1,000 active installs. address Module address crossed 1,000 active installs. admin_toolbar Module admin_toolbar crossed 1,000 active installs. editoria11y 3.0.0-beta8 New beta version released for module editoria11y (3.0.0-beta8). adv_varnish 4.0.15 Minor update available for module adv_varnish (4.0.15). editoria11y 3.0.0-beta7 New beta version released for module editoria11y (3.0.0-beta7). modeler_api 1.1.0 Minor update available for module modeler_api (1.1.0). form_mode_control 8.x-2.6 Minor update available for module form_mode_control (8.x-2.6). symfony_mailer_log 1.2.4 Minor update available for module symfony_mailer_log (1.2.4).

Pantheon Solr API lets multiple Drupal sites share a single Solr search index hosted on Pantheon. One site — the "hub" — owns the Solr server and exposes it as an authenticated HTTP proxy. Any number of other sites — "clients" — connect to that proxy through the companion Search API Solr Proxy module. The result is unified, cross-site search powered by a single managed Solr instance, without each site needing its own Solr server.

This module is not affiliated with or endorsed by Pantheon.

Features

  • Shared Solr index across multiple sites. One hub site exposes its Pantheon-managed Solr 8 server, and any number of client sites index into and query from it. All sites appear in a single search result set.
  • Lightweight SELECT proxy. Search queries bypass Drupal's bootstrap entirely and are handled by a standalone PHP script (pantheon-solr-proxy.php) copied to the hub's web root. Typical query overhead is ~5 ms.
  • Secure API-key authentication. Every request between a client and the hub carries a shared key via the X-Pantheon-Solr-Key HTTP header. The key is stored as a Pantheon Secret (via the Pantheon Secrets module) so it never touches version control.
  • Centralised schema management. The Solr schema is posted once from the hub with drush sapi-pc. Client sites opt out of schema management automatically.
  • Admin UI and Drush integration. A settings page at /admin/config/search/pantheon-solr-api lets you configure the API key. Two Drush commands — pantheon-solr-api:list-clients and pantheon-solr-api:update-index — help you manage registered client sites from the command line.
  • Client self-registration. Client sites call drush pantheon-solr-proxy:register (from the companion connector module) to register themselves with the hub. No manual config-sync step required.

When to use this module: When you run a Pantheon-hosted multisite or a network of related Drupal sites and want a single, unified search experience across all of them without paying for or managing a separate Solr server for each site.

Post-Installation

This module is installed on the hub site only. After enabling it:

  1. Copy pantheon-solr-proxy.php from the module directory to your hub site's web root and commit it.
  2. Create a Pantheon org-level secret (PANTHEON_SOLR_API_KEY) via Terminus, then create a matching Key entity using the Pantheon Secret key provider.
  3. Visit /admin/config/search/pantheon-solr-api and select that Key entity.
  4. Run drush sapi-pc on the hub to post the Solr schema.
  5. On each client site, install Search API Solr Proxy Pantheon Connector, create a Search API server with the "Pantheon Solr Proxy" connector, and run drush pantheon-solr-proxy:register.

Full step-by-step instructions are in the module's README.md.

Additional Requirements

Recommended modules/libraries

  • Search API Solr Proxy — required on every client site; provides the abstract connector framework and the Pantheon-specific submodule.
  • Search API Pantheon — the standard single-site Pantheon Solr integration. Not required here, but a good reference for understanding how Pantheon exposes Solr.

Similar projects

  • Search API Pantheon connects a single Drupal site directly to its own Pantheon-managed Solr server. This module solves the different problem of sharing one Solr server across multiple sites.
  • Search API Solr Multisite (part of Search API Solr) supports federated search across independent Solr cores but requires each site to have its own Solr server. This module uses a single shared server via a proxy instead.

Supporting this Module

This module is developed and maintained by Aten Design Group. If it saves you time, consider hiring us for your next Drupal project.

Community Documentation

  • Full hub setup guide: README.md in the module repository
  • Client site setup: search_api_solr_proxy_pantheon_connector/README.md

Activity

Total releases
1
First release
Mar 2026
Latest release
1 day ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Mar 26, 2026