Fxi the into_changes stop processing

This commit is contained in:
Clément Renault 2024-11-20 14:58:25 +01:00
parent 84600a10d1
commit 567bd4538b
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
10 changed files with 365 additions and 55 deletions

View file

@ -102,8 +102,9 @@ pub fn base_setup(conf: &Conf) -> Index {
indexer.add_documents(&documents).unwrap();
let indexer_alloc = Bump::new();
let (document_changes, _operation_stats, primary_key) =
indexer.into_changes(&indexer_alloc, &index, &rtxn, None, &mut new_fields_ids_map).unwrap();
let (document_changes, _operation_stats, primary_key) = indexer
.into_changes(&indexer_alloc, &index, &rtxn, None, &mut new_fields_ids_map, &|| false)
.unwrap();
indexer::index(
&mut wtxn,