mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +01:00
use insert instead of push for bitmaps
This commit is contained in:
parent
420c33132c
commit
e64d0e0ca8
@ -290,7 +290,7 @@ where
|
|||||||
|
|
||||||
match result? {
|
match result? {
|
||||||
DocumentEdition::Deleted(docid) => {
|
DocumentEdition::Deleted(docid) => {
|
||||||
documents_to_remove.push(docid);
|
documents_to_remove.insert(docid);
|
||||||
}
|
}
|
||||||
DocumentEdition::Edited(new_document) => {
|
DocumentEdition::Edited(new_document) => {
|
||||||
documents_batch_builder.append_json_object(&new_document)?;
|
documents_batch_builder.append_json_object(&new_document)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user