Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Overview
Allows you to override solr connection settings on an environment (site) basis, via your settings.php without editing servers managed in features.
Features
- Overrides can be implemented through settings.php (example included below).
- Overrides can also be implemented through a custom module using variable_set().
Requirements
- search_api_solr module.
Known problems
- There are currently no known issues. Please log new issues via the issue queue.
Tutorials
Example
Add the following to your settings.php
$conf['search_api_solr_overrides'] = array(
'solr-server-id' => array(
'name' => 'Solr Server (Overridden)',
'options' => array(
'host' => '127.0.0.1',
'port' => 8983,
'path' => '/solr',
),
),
);
Note: This is an example as solr configurations vary.
Pledges
- This module will be actively maintained to keep up with developments in search_api_solr module.
Credits
Development on this module is sponsored by PreviousNext
Recommended modules
Similar projects
Project information
- 193 sites report using this module
- Created by nick_schuch on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.0
released 13 June 2017
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 13 Jun 2017 at 01:54 UTC