From eada6de261913b449e4dca643663ba04b821e031 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Mon, 4 Mar 2024 18:02:54 +0100 Subject: [PATCH] Divide threshold by ten --- milli/src/update/facet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/facet/mod.rs b/milli/src/update/facet/mod.rs index 15a646836..0af64c4c5 100644 --- a/milli/src/update/facet/mod.rs +++ b/milli/src/update/facet/mod.rs @@ -149,7 +149,7 @@ impl<'i> FacetsUpdate<'i> { self.index.set_updated_at(wtxn, &OffsetDateTime::now_utc())?; // See self::comparison_bench::benchmark_facet_indexing - if self.data_size >= (self.database.len(wtxn)? / 50) { + if self.data_size >= (self.database.len(wtxn)? / 500) { let field_ids = self.index.faceted_fields_ids(wtxn)?.iter().copied().collect::>(); let bulk_update = FacetsUpdateBulk::new(