Multiple Solr Version Support
SAP Commerce supports more than one version of Solr server.
Apache Solr is under active development, which results in frequent feature releases on the current major version. The previous major version still receives some security and bug fixes for feature releases as the Long Term Support (LTS) version. Older versions are considered End of Mainstream Maintenance (EOMM) and are not updated further. As a result you can use more than one version of the Solr server for each version of SAP Commerce.
Compatibility of Solr Versions
Depending on the current release version, there can be several different versions of the Apache Solr server involved.
The following table provides a brief compatibility overview:
|
SAP Commerce Search & Navigation Module |
Solr Server Version |
Comments |
|---|---|---|
|
2005 |
8.4.x2 and higher |
|
|
2011 |
8.6.3 and higher |
|
|
2105 |
8.9.0 and higher |
|
|
2205 |
9.5.x, 9.7.x, 9.8, and 9.10 |
Delivered 9.5.x from patch 2205.27. Delivered 9.7.x from patch 2205.33 |
[1]Use the Solr server from a previous SAP Commerce version and set the legacy mode attribute in the indexer configuration to true.
[2] x indicates the version with backwards-compatible bug fixes.
For information on upgrading your Solr version, refer Solr Upgrades.
Directory Structure
The directory structure was changed to provide support for multiple versions. The directory name is composed of only the major and minor part of the version, because customizations and server may have different patch versions. You can find the details on the included versions in the meta.properties files (the examples are provided below).
version=7.4.0 customizationsVersion=7.4.3
version=7.4.3
The structure of the directory is as follows:
-
server: contains the Solr server with applied customizations.
-
customizations: contains the modifications to be applied to the official Solr release. These modifications make the Solr server more lightweight and compatible with SAP Commerce platform. For the list of changes, see the HYBRIS_README.txt file.
Installation of an External Solr Server
Configure an external standalone Solr server for local development in SAP Commerce.
