Avoid a full index deletion in Transform
when changing settings
#4478
Labels
performance
Related to the performance in term of search/indexation speed or RAM/CPU/Disk consumption
settings diff-indexing
Issues related to settings diff-indexing
v1.8.0
PRs/issues solved in v1.8.0 released on 2024-05-06
Milestone
Related product team resources: PRD (internal only)
Summary
This issue is a subset of the work implementing the settings diff-indexing enhancement.
The current approach of
Transform::prepare_for_documents_reindexing
is to dump all the documents in the index into aGrenad::File
and delete the whole index to reindex all the documents, taking into account theSettings
changes.This function should instead create document deltas without clearing the index.
TODO
Transform::prepare_for_documents_reindexing
methodsinto_del_add_obkv
calls useDelAddOperation::DeletionAndAddition
ClearDocuments
callsThe text was updated successfully, but these errors were encountered: