Search API Solr Overrides

Component ID

1663570

Component name

Search API Solr Overrides

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

23745

Component created

Component changed

Component body

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

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