From b7bfa20e38f4044ee77c5cef0e65b6d35982ee0f Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Thu, 9 Feb 2023 17:37:55 +0100 Subject: [PATCH] Fixed test performance. --- columnar/src/TODO.md | 4 +++- src/query/range_query/range_query_u64_fastfield.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/columnar/src/TODO.md b/columnar/src/TODO.md index d8729b375..84795ca1b 100644 --- a/columnar/src/TODO.md +++ b/columnar/src/TODO.md @@ -1,10 +1,13 @@ # zero to one + * revisit line codec * removal of all rows of a column in the schema due to deletes +* add columns from schema on merge * Plugging JSON * replug examples * move datetime to quickwit common * switch to nanos +* reintroduce the gcd map. # Perf and Size * remove alloc in `ord_to_term` @@ -21,7 +24,6 @@ compare with roaring bitmap/elias fano etc etc. SIMD range? (see blog post) Add alignment? Consider another codec to bridge the gap between few and 5k elements -fix performance of test_range_for_docs_prop # Cleanup and rationalization in benchmark, unify percent vs ratio, f32 vs f64. diff --git a/src/query/range_query/range_query_u64_fastfield.rs b/src/query/range_query/range_query_u64_fastfield.rs index 3dee61fd0..9ecfb071e 100644 --- a/src/query/range_query/range_query_u64_fastfield.rs +++ b/src/query/range_query/range_query_u64_fastfield.rs @@ -210,7 +210,7 @@ pub mod tests { let index = Index::create_in_ram(schema); { - let mut index_writer = index.writer(3_000_000).unwrap(); + let mut index_writer = index.writer_with_num_threads(1, 50_000_000).unwrap(); for doc in docs.iter() { index_writer .add_document(doc!(