Install

Works with Drupal: ^9.3 || ^10.0

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 3.99 MB
MD5: da876c8097c44bd8d1b3953261c8d0f4
SHA-1: 7a4066a5fe358f908a4cba038818051bf65b820d
SHA-256: aa44c5cfe907f722a71841b99e1d7480dc49585bf3edba55d268154004b46b05
Download zip 4.61 MB
MD5: e81cb016b801282418bb2aea6961d1b9
SHA-1: dad7b3f0fe5e4edce57dc8a800afcca181e7d6ae
SHA-256: 4d50afd36ca56ab383174fbb0c538039a4cad2924b8ff45c4516abe7922e3b27

Release notes

Search API Solr 4.x is the unified release that supports Drupal 9 and 10 in combination with a wide range of Solr versions.

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

  • semantic versioning
  • compatible to Drupal 9.x
  • We upgraded to solarium 6.2 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
  • Automated configset upload and collection creation for Solr Cloud using the search_api_solr_admin sub-module

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.

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!

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.2.10:

Created by: mkalkbrenner
Created on: 16 Jun 2023 at 12:36 UTC
Last updated: 16 Jun 2023 at 12:36 UTC
Bug fixes
New features
Insecure
Insecure
Unsupported

Other releases