Update crates/index-scheduler/src/batch.rs

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
Many the fish 2024-11-21 14:18:39 +01:00 committed by GitHub
parent 94b260fd25
commit ff38f29981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1329,7 +1329,6 @@ impl IndexScheduler {
DocumentOperation::Add(_content_uuid) => {
let mmap = content_files_iter.next().unwrap();
indexer.add_documents(mmap)?;
// builder = builder.with_embedders(embedders.clone());
}
DocumentOperation::Delete(document_ids) => {
let document_ids: bumpalo::collections::vec::Vec<_> = document_ids