Connector Workaround not available

Created on 12 November 2024, 12 days ago

Problem/Motivation

Updating Search API Solr from 4.2 to 4.3 lead to an issue in an inconsistency in index options that will cause errors, preventing you from indexing new content. See πŸ“Œ Inconsistent index options = DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS error after upgrade Closed: works as designed . The recommended fix in the 4.3 release notes β†’ appears to be to delete the existing core, and recreate it. My comment in that issue provides a list of the drush commands that appear to do this for you, which work in a local ddev environment. This however doesn't seem to work in a Pantheon environment. A part of the update requires you to use the "Connector Workarounds" option to automatically determine the the Solr version. Where these options would appear in the server configuration, there is a message:

"Other options are configured using environment variables on Pantheon.io's custom platform"

Without enabling this connector workaround option, you will see an inconsistency in the "Configured Solr Version" and "Configured Solr Version". In my case, 8.0.0 (configured) Vs. 8.11.4 (detected). And without setting this, even following the drush command steps to re-create the index, I'm still unable to index content without running into the error in πŸ“Œ Inconsistent index options = DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS error after upgrade Closed: works as designed . It's unknown to me at this time if there are other conflating factors, but this seems to be the most likely issue.

I'm not exactly sure on the approach here, but I have colleagues who have run into the issue, and worked with Pantheon support to address the issue. I'm filing this ticket here to try to determine a permanent fix.

Side note, the 8.1.10 release of this module was supposed to fix errors on thee admin page for it, but I am still seeing an error there. I'll file a separate issue for that.

πŸ› Bug report
Status

Active

Version

8.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bburg Washington D.C.

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

Comments & Activities

Production build 0.71.5 2024