Install

Works with Drupal: ^8.8 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 3.22 MB
MD5: 489c63cbbcdaaf52c417eff112821662
SHA-1: b680ef854dde882f6d203cb10f9a6b2758c86e3a
SHA-256: 7d5a6932e5cbfad75859c381771495c0e53270d15f902f9edff37d18dc236384
Download zip 3.81 MB
MD5: 7b7de7c8d29b51f87df27ae435150aa9
SHA-1: ebdd5e5fdb0169207f544e2e5600bb8bc566f420
SHA-256: 84be17ec95b7dbb142d83fb40bb66c70ab7c0191934b49c7f3e1e3647256e2a8

Release notes

Search API Solr 4.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.1 and therefore require at least PHP 7.3
  • basic support for selected older Solr versions between 3.6 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 and later supports Solr v2 API, the connector settings need to be adjusted when updating from Search API Solr 1.x or 2.x! 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.3 or newer required!

Due to the requirements of the libraries we use we can't support PHP 5, PHP 7.0, PHP 7.1 or PHP 7.2 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.2.
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 (and later) 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.1 search_api_solr:^4.2

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

You should NOT upgrade to Search API Solr 8.x-2.x or 8.x-3.x first! Just directly upgrade to 4.2.x.

Changes since 4.1.12

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: 24 Jun 2021 at 16:28 UTC
Last updated: 24 Jun 2021 at 16:28 UTC
Bug fixes
New features
Insecure
Insecure
Unsupported

Other releases