mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
update typed chunks
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user