mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-29 14:40:40 +00:00
NOBUG cleanup
This commit is contained in:
@@ -33,7 +33,7 @@ fn test_indexing() {
|
||||
for _ in 0..200 {
|
||||
let random_val = universe.ind_sample(&mut rng);
|
||||
if random_val == 0 {
|
||||
index_writer.commit();
|
||||
index_writer.commit().expect("Commit failed");
|
||||
committed_docs.extend(&uncommitted_docs);
|
||||
uncommitted_docs.clear();
|
||||
index.load_searchers().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user