Add delete items alter hook

Created on 6 May 2021, over 3 years ago
Updated 30 September 2024, about 2 months ago

Problem/Motivation

I needed to alter deleted item IDs to add additional IDs for records which had been 'chunked' into multiple items on the index to avoid the 10kb size limit - e.g., when item `entity:node/1:en` was deleted, I needed to also delete `entity:node/1:en:chunk:1`. AFAICT there is no search_api event for item deletion?

Proposed resolution

To add an alter hook `hook_search_api_algolia_delete_items_alter()`. Patch attached.

Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

🇨🇦Canada bgilhome Victoria

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.

Production build 0.71.5 2024