Compatibility with search_api_solr:4.2.0, hook deprecation

Created on 2 April 2025, 16 days ago

The hooks this module relies on are deprecated:

* hook_search_api_solr_query_alter is deprecated in search_api_solr:4.2.0 and is removed from search_api_solr:4.3.0. Handle the PreQueryEvent instead.
* hook_search_api_solr_documents_alter is deprecated in search_api_solr:4.2.0 and is removed from search_api_solr:4.3.0. Handle the PostCreateIndexDocumentsEvent instead.

Here is a simple patch that solves this by adding the events and having them reference the original hooks. I took this approach so that existing patches can still apply.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States olivier.bouwman Portland, Oregon

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

Comments & Activities

Production build 0.71.5 2024