Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is the second alpha release of Search API Solr Search 8.x-3.0.
The big changes:
- 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.
Important: You need to update your Solr config files if you update from any previous version!
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, 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.2!
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 required!
Due to the requirements of the libraries we use we can't support PHP 5 anymore!
The only 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.
Upgrade path for Search API Multilingual Solr Search 8.x-1.x
You should upgrade to 8.x-2.4 first before you upgrade to 8.x-3.0. We created a small guide to describe the required steps.
Unfortunately it's not that easy to implement an automated upgrade path that fits all installations.
Changes since 8.x-3.0alpha1
- Issue #3026940: Wrong default language field for multisite indexes by mkalkbrenner
- Issue #3026904: Cloned multisite index: Multilingual support for fulltext fields is missing by cspitzlay, mkalkbrenner
- Issue #3001714: Highlighting problem on "Any Schema Backend" b petros, mkalkbrenner
- Issue #3026896: hook_search_api_solr_field_mapping_alter does not work as expected when cloning a multisite index by cspitzlay, mkalkbrenner
- Issue #3025700: Add upgrade path for deprecated Solr Filters by mkalkbrenner
- Issue #2900410: Add result grouping support by estoyausente, stdio, jamiehollern, squall3d, mkalkbrenner, Nixou, tomhollevoet
- Issue #3023603: Improve stemming for Dutch language by mpp, mkalkbrenner
- Issue #3023869: Add Dutch nouns by mpp, mkalkbrenner, rhansenne
- Issue #3026663: Importing an index config with solr_document data source fails if target index has no fields by tseifert, mkalkbrenner
- Issue #2949334: Turn site hash into state instead of configuration by mkalkbrenner, pfrenssen, cspitzlay
- Issue #2943876: Revise cron tasks and provide settings in the UI by mkalkbrenner
- Issue #3021067: Performance penalties on larger index on hook search_api_solr_search_api_items_indexed by mkalkbrenner, valic
- Issue #3026112: Remove obsolete cron task for spellcheck by mpp
- Issue #2989095: "Contains all of these words" leads to no results if the key words contain a stop word by mpp, webflo, mkalkbrenner
- Issue #3026112: Remove obsolete cron task for spellcheck by mpp
- Issue #3025828: Highlight "retrieved" fields instead of "queried" fields by mkalkbrenner
- Issue #3025615: search_api_solr should have an extra.drush.services section in its composer.json. by Spokje
- Issue #3024977: Upgrade Path: solr_string_ngram not handled when upgrading to 8.3.x by cspitzlay
- Issue #3024821: Streaming Expressions: Notice thrown in extractResults if search_api_language is not present in result docs by cspitzlay
- Issue #3024755: Streaming Expressions: Sort fields not recognized any more in StreamingExpressionBuilder by cspitzlay
- Issue #3024554: Solr 7.x: use docValues="true" for sm_* by mkalkbrenner
- Issue #3024543: Add the language as context for hook_search_api_solr_field_mapping_alter() by mkalkbrenner
- Issue #2735625: Add language-specific spell fields by damontgomery, mkalkbrenner
- Issue #3022896: Destinguish between ngram and edgengram, remove obsolete Solr 5 phonetic by mkalkbrenner
- Issue #3022997: language filters sometimes fail by mkalkbrenner
- Issue #3022332: Use PHP 7.3 for testing by mkalkbrenner
- Issue #3022342: Call to undefined method Drupal\search_api_solr\Entity\SolrFieldType::isManagedSchema() by mkalkbrenner
- Issue #3021235: Configuration import errors for text_zh_hans_6_0_0 by skilip, mkalkbrenner