Allow to opt-out index tracker reset on locale update

Created on 13 March 2025, 21 days ago

Problem/Motivation

As part of my build process, I run locale updates to ensure Drupal core and contrib's translations are up to date with community ones. The problem is that even if those translations have no impact on my search indexes, their tracker are reset once any translation has been updated. This is an issue because it costs a lot of processing power to reindex everything.

Steps to reproduce

  1. On a multilingual website
  2. Ensure you have at least one item in one of your indexes
  3. Run drush locale:update or drush locale:import
  4. Your indexes trackers have now been reset

Proposed resolution

Allow to configure indexes so their trackers are not reset when locales are updated.

Feature request
Status

Active

Version

1.0

Component

General code

Created by

🇫🇷France duaelfr Montpellier, France

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

Comments & Activities

Production build 0.71.5 2024