mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
use insert instead of push for bitmaps
This commit is contained in:
parent
420c33132c
commit
e64d0e0ca8
1 changed files with 1 additions and 1 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue