mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-26 21:46:27 +00:00 
			
		
		
		
	Merge #4462
4462: Divide threshold by ten r=dureuill a=ManyTheFish Change the facet incremental vs bulk indexing threshold to better fit our user needs, it might be changed in the future if we have more insights Co-authored-by: ManyTheFish <many@meilisearch.com>
This commit is contained in:
		| @@ -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::<Vec<_>>(); | ||||
|             let bulk_update = FacetsUpdateBulk::new( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user