Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download search_api_solr-8.x-3.0.tar.gztar.gz 1020 KB
MD5: f25d7fe7e35a0ea2a15e652fbb9a59c8
SHA-1: e78095bd39abb721acf2e61a64a60330b6d9aa7d
SHA-256: 9c4269403de71d043c137df5afc30fb19b5c70b644017f39ae4a2cca9a8b4481
Download search_api_solr-8.x-3.0.zipzip 1.19 MB
MD5: 7344f766ac4d90b85e390e2df7881500
SHA-1: 1a4044190f585fec19dec2a6d80a6ea177228dbf
SHA-256: acded07f70b555a6c02c6b90707a44afae44db1365fc38feb00eb6ec13c15b37

Release notes

This is the final release of Search API Solr Search 8.x-3.0. It supports upgrade paths from any previous 8.x version including Search API Solr Multilingual 8.x-1.x!

The big changes in 3.0 compared to 2.0:

  • 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.
  • We upgraded to solarium 5.0 and therefore require at least PHP 7.1
  • Experimental support for installation via Ludwig
  • Solr 7/8 compatible implementation of index time boosting of terms and documents
  • Configurable MoreLikeThis parameters per index

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.

Solr 6 and 7 and 8, nothing else!

The minimum supported Solr version is 6.4. But due to security issues it's highly recommended that you use at least Solr 6.6.6!

If you use Solr 6.5.x you have to be aware that there's a known issue within Solr itself that always leads to zero results in combination with search_api_autocomplete: #2869529: Autocomplete (and spell checking) is broken on Solr 6.5.x, Solr 6.6 will solve the issue.
Since this bug is fixed in Solr 6.6.0 we declare Solr 6.5.x as unsupported!

As you can see at http://lucene.apache.org/solr/community.html we're in sync with the Solr project. Every version before 6.4 is declared as "End Of Life".

PHP 7.1 required!

Due to the requirements of the libraries we use we can't support PHP 5 and PHP 7.0 anymore!

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:^3.0.
Alternatively we added experimental support for the ludwig installer.
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 8.x-2.x first before you upgrade to 8.x-3.x! Just directly upgrade to 8.x-3.x.

Changes since 8.x-3.0-rc1

Changes since 8.x-3.0-beta3

Changes since 8.x-3.0beta2

Changes since 8.x-3.0beta1

Changes since 8.x-3.0alpha3

Changes since 8.x-3.0alpha2

Changes since 8.x-3.0alpha1

Changes since 8.x-2.x

Created by: mkalkbrenner
Created on: 7 Jun 2019 at 14:22 UTC
Last updated: 12 Jun 2019 at 15:13 UTC
Bug fixes
New features

Other releases