Problem/Motivation

This is follow up from https://www.drupal.org/project/search_api_algolia/issues/3231854

As part of previous ticket we allowed deleting items in Algolia in separate drush command which could be setup as cron job.

After this we discussed again with Algolia Support and identified we were sending object ids for both languages even when using language suffix.

Steps to reproduce

Have an index with Language Suffix feature enabled.
Check the object ids sent for deletion

Proposed resolution

Remove the item ids with different language in https://git.drupalcode.org/project/search_api_algolia/-/blob/3.0.x/src/S... when algolia_index_apply_suffix is enabled.

Remaining tasks

Raise MR with fix and validate

User interface changes

None

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nikunjkotecha created an issue. See original summary.

Prabhat Burnwal made their first commit to this issue’s fork.

nikunjkotecha’s picture

Status: Active » Fixed