Support force_reindex in the model Zoekt index methods for IndexingTaskWorker

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Background

Search::Zoekt.index_async and Search::Zoekt.index_in should support the force reindex for the task approach

Proposal

Send the task type force_index_repo if there is force in the option

https://gitlab.com/gitlab-org/gitlab/-/blob/bb08d86fe0455a63d32930cd1a7caacd9769871c/ee/app/models/search/zoekt.rb#L44

https://gitlab.com/gitlab-org/gitlab/-/blob/bb08d86fe0455a63d32930cd1a7caacd9769871c/ee/app/models/search/zoekt.rb#L51

Edited by 🤖 GitLab Bot 🤖