Install

Works with Drupal: ^8.8 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download search_api_solr-4.1.12.tar.gztar.gz 3.22 MB
MD5: baed1d788861942c81ed00920fc02978
SHA-1: fd71984f6edc6b7dc595ee8720e5fdd8e207990d
SHA-256: 28beb46c3e0d9bbaf2b6d7f001348c52b431c4815cff76582735757c32e921b6
Download search_api_solr-4.1.12.zipzip 3.81 MB
MD5: 02b60d1c634127b071257f56a89447ce
SHA-1: 1f533d784b0609ca4b21a87bc012d1b100b12860
SHA-256: 708d18b400bc36a4f153064c6fb107578ee727353c93bb4e1314afac3ef03241

Release notes

Search API Solr 4.1.x is the unified release that supports Drupal 8 and 9 and a wide range of Solr versions.

The big changes in 4.x compared to 3.x:

  • semantic versioning
  • compatible to Drupal 8.8, 8.9 and 9.x
  • We upgraded to solarium 6.0 and therefore require at least PHP 7.2
  • basic support for older Solr versions between 4.5 and 5.5 via the new search_api_solr_legacy sub-module
  • jump-start Solr config-sets you could simply copy and deploy on you're Solr sever to create a core or a collection

Like Search API Solr Search 8.x-3.x, it supports upgrade paths from any previous 8.x version including Search API Solr Multilingual 8.x-1.x!

BTW there's a new user contributed documentation: https://www.drupal.org/docs/8/modules/search-api-solr

The big changes in 3.x compared to 2.x:

  • We collapsed the features of the Standard Backend, both Multilingual Backends and the "Any Schema" Backend into a one new unified Solr Backend. There's a migration path :-)
  • Mulitisite is back! Select "Clone for Multisite" in an Index' operations, save the Clone Form, export the cloned index config (and probably the server config), deploy the config to a different site, configure a search View as usual, enjoy! ;-)
  • Spellchecking is now configurable like Suggesters. Use the standard filed configuration to decide which fields should feed the spellcheck catalog
  • We now distinguish between NGram and EdgeNGram. Both field types are fully configurable via Drupal config files.
  • Solr 7/8 compatible implementation of index time boosting of terms and documents
  • Configurable MoreLikeThis parameters per index
  • Support for Solr Cloud exclusive features

The big changes in 3.x compared to 1.x:

Important: Since solarium 5.0 supports Solr v2 API, the connector settings need to be adjusted! The "path" must not end with "/solr" but "/" without "solr" because that is the v1 API endpoint!
Your existing configs will be adjusted automatically via an update hook implementation. But if you've overwritten the connection settings (for example in settings.php) you must adjust the path by yourself!

Important: You need to update your Solr config files if you update from any previous version! After deploying the config set to your Solr server(s) you need to re-index your content!

Important: You might need to adjust the solrcore.properties file to your needs. If you get errors about missing classes you should adjust the solr.install.dir.

PHP 7.2 or newer required!

Due to the requirements of the libraries we use we can't support PHP 5, PHP 7.0 or PHP 7.1 anymore! These versions reached EOL anyway.

The recommended way to install this module properly is the usage of composer!

To install the module including its dependencies simply change into your drupal directory and run composer require drupal/search_api_solr:^4.1.
But if you just download the module it won't work because the required external libraries are not part of this package!

The Drupal 8 symfony/event-dispatcher issue!

See #3085196: How to upgrade to solarium 5.1.x, 5.2.x or 6.0.x for details. But with the Search API Solr 4.1.0 release we solved that issue! So it doesn't exist anymore for new installations.
If you applied one of the workarounds before, don't forget to revert them!
Drupal 8 users should for example update like this to revert to the original event-dispatcher:
composer require symfony/event-dispatcher:~3.4.0 solarium/solarium:^6.0 search_api_solr:^4.1

Upgrade path for Search API Multilingual Solr Search 8.x-1.x

You should NOT upgrade to 8.x-2.x or 8.x-3.x first! Just directly upgrade to 4.x.

Changes since 4.1.11

Changes since 4.1.10

Changes since 4.1.9

Changes since 4.1.8

Changes since 4.1.7

Changes since 4.1.6

Changes since 4.1.5

Changes since 4.1.4

Changes since 4.1.3

Changes since 4.1.2

Changes since 4.1.1

Changes since 4.1.0

Changes since 4.0.1

Changes since 4.0.0

Changes since 4.0.0-beta2

Changes since 4.0.0-beta1

Changes since 4.0.0-alpha1

Changes since 8.x-3.9

Created by: mkalkbrenner
Created on: 3 Jun 2021 at 16:25 UTC
Last updated: 3 Jun 2021 at 16:25 UTC
Bug fixes
New features

Other releases