Upgrading module to version 8.3.0 from 8.2.2 causing some issue

Created on 7 February 2025, 3 months ago

Problem/Motivation

We recently tried to upgrade module version from 8.2.2 to 8.3.0.

And we ended up with some failure in CI Jobs.
When I compared the code changes https://git.drupalcode.org/project/search_api_pantheon/-/compare/8.2.2.....

config/optional/search_api_index.content_index.yml → config/install/search_api.index.primary.yml
config/install/search_api.server.pantheon_solr8.yml → config/install/search_api.server.pantheon_search.yml

and our existing search_api_server config still have id as pantheon_solr8

Do we need to update id in our existing server config?
and I see search_api_index.content_index.yml config also id is updated and the config is moved from config/optional to config/install.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

8.3

Component

Miscellaneous

Created by

🇮🇳India nitesh624 Ranchi, India

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

Comments & Activities

  • Issue created by @nitesh624
  • 🇮🇳India nitesh624 Ranchi, India
  • 🇺🇸United States stovak Los Angeles

    Do not update existing solr configs. Sorry, this was changed for ci/testing purposes. Your current config should work. We had to start CI that tests the module on D10 & D11 for compatibility whereas before we were only testing on 9.

  • 🇮🇳India nitesh624 Ranchi, India

    Bot in our existing index config we are using

    dependencies:
      config:
        - search_api.server.pantheon_solr8
    server: pantheon_solr
    

    So as per the change in 8.3.1 version we need to update this to pantheon_search ?

  • 🇮🇳India nitesh624 Ranchi, India
  • 🇮🇳India nitesh624 Ranchi, India
  • 🇮🇳India nitesh624 Ranchi, India

    If this change is done for CI/testing purpose then this search_api.index.primary.yml should belongs to a test module.
    We didn't get this issue in 8.2.x because the yml file name is wrong search_api_index.content_index.yml. But in 8.3.x this yml file is corrected and we are getting below error On our local/CI instance where pantheon_search server is not available.

      [Drupal\search_api\SearchApiException]                                       
      The server with ID 'search_api_solr_drupal_server' could not be retrieved f  
      or index 'primary'. 
Production build 0.71.5 2024