mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
update typed chunks
This commit is contained in:
parent
4b64c33aa2
commit
1b4ff991c0
4 changed files with 22 additions and 54 deletions
|
@ -74,10 +74,6 @@ impl ExternalDocumentsIds {
|
|||
for DocumentOperation { external_id, internal_id, kind } in operations {
|
||||
match kind {
|
||||
DocumentOperationKind::Create => {
|
||||
// TODO should we get before insert to be able to detect bugs?
|
||||
// if matches!(kind, DocumentOperationKind::Create) {
|
||||
// panic!("Attempting to create an already-existing document");
|
||||
// }
|
||||
self.0.put(wtxn, &external_id, &BEU32::new(internal_id))?;
|
||||
}
|
||||
DocumentOperationKind::Delete => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue