SOLR 8 Support for Drupal 7

Created on 13 December 2021, over 3 years ago
Updated 5 March 2025, 6 months ago

Respect the submission guidelines above! Drupal.org issue forks cause additional work for the project maintainer!

Setup

  • Solr version: 7.7.3
  • Drupal Core version: 7.8.4
  • Search API version: 7.x-1.28
  • Search API Solr version: 7.x-1.15
  • Configured Solr Connector:

Issue

With the current security issue with SOLR 7 not being corrected and a move to SOLR 8 being required, provide an upgrade path for Drupal 7 to support SOLR 8.

πŸ’¬ Support request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ElusiveMind Nashville, TN

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡΅πŸ‡­Philippines johnrosswvsu

    We may need to revisit this since some site are still using Drupal 7. We were able to make this module work with SOLR 8.

    Setup

    • Solr version: 8.11.x
    • Drupal Core version: 7.103
    • Search API version: 7.x-1.29
    • Search API Solr version: 7.x-1.16

    Plus this patch.

  • πŸ‡ΊπŸ‡ΈUnited States greg.1.anderson

    This has been tested on Pantheon and found to be working. I would set to RTBC, but only maintainers can re-open issues.

  • πŸ‡¦πŸ‡ΉAustria drunken monkey Vienna, Austria
  • πŸ‡©πŸ‡ͺGermany mkalkbrenner πŸ‡©πŸ‡ͺ

    For sure you can commit that patch in the Drupal 7 branch. But the 7.x module is already marked as unsupported, just like Drupal 7 itself.

    BTW it is a bit strange that people want to update to newer Solr versions but not to newer Drupal versions ;-)

  • πŸ‡¦πŸ‡ΉAustria drunken monkey Vienna, Austria

    I agree, people should definitely get off those old Drupal versions. And yes, I won’t provide support for those anymore.
    But, as said on Slack, just commiting patches as-is (or fixing one typo, admittedly) should still be fine.
    Committed. Thanks again!

  • πŸ‡ΊπŸ‡ΈUnited States ElusiveMind Nashville, TN

    Thank you for supporting this. It will also help those of us working on LTS Drupal 7 or alternatives such as BackdropCMS - so it is a noble effort. I appreciate it.

  • πŸ‡ΊπŸ‡ΈUnited States greg.1.anderson

    Thanks so much! Could you roll a new release for search_api_solr 7.x-1.x to include this addition, when you have a chance?

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • πŸ‡ΊπŸ‡ΈUnited States narkoff

    @greg.1.anderson did you get this patch working on Pantheon Solr servers (Pantheon seems to restrict D7 sites on Solr 8), or on Pantheon hosted D7 site using Solr on other service like OpenSolr, WebSolr, etc?

Production build 0.71.5 2024