mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-09 22:48:54 +01:00
Merge #4853
4853: Fix rhai deletion r=irevoire a=dureuill # Pull Request ## Related issue Fixes #4849 ## What does this PR do? - insert inside of the bitmap instead of pushing into it. Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
commit
c817718e07
@ -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