use insert instead of push for bitmaps

This commit is contained in:
Louis Dureuil 2024-08-01 18:32:45 +02:00
parent 420c33132c
commit e64d0e0ca8
No known key found for this signature in database

View File

@ -290,7 +290,7 @@ where
match result? {
DocumentEdition::Deleted(docid) => {
documents_to_remove.push(docid);
documents_to_remove.insert(docid);
}
DocumentEdition::Edited(new_document) => {
documents_batch_builder.append_json_object(&new_document)?;