hook_search_api_solr_documents_alter is not working during Node Insert/Update

Created on 22 April 2020, over 4 years ago
Updated 3 January 2024, 11 months ago

hook_search_api_solr_documents_alter is not working during Node Insert/Update. If we are putting exit/die in this function it is working during cron run & doing indexing in index page

💬 Support request
Status

Closed: works as designed

Version

3.8

Component

Code

Created by

🇮🇳India vpsaravanan

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.

  • 🇺🇸United States damondt

    As of 4.3 this hook has been removed in favor of using event subscribers.

    Subscribe to the Drupal\search_api_solr\Event\SearchApiSolrEvents::POST_CREATE_INDEX_DOCUMENT event instead.

Production build 0.71.5 2024