From 24c0775c675f668bd9d9cc24ec419262c9cca70f Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Wed, 8 Mar 2023 12:36:04 +0100 Subject: [PATCH] Change indexing threshold --- .../index_documents/extract/extract_docid_word_positions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/index_documents/extract/extract_docid_word_positions.rs b/milli/src/update/index_documents/extract/extract_docid_word_positions.rs index 057559462..6eee90c06 100644 --- a/milli/src/update/index_documents/extract/extract_docid_word_positions.rs +++ b/milli/src/update/index_documents/extract/extract_docid_word_positions.rs @@ -288,5 +288,5 @@ fn most_frequent_languages( fn compute_laguage_frequency_threshold(languages_frequency: &[(Language, usize)]) -> usize { let total: usize = languages_frequency.iter().map(|(_, c)| c).sum(); - total / 20 // 5% is a completely arbitrar value. + total / 10 // 10% is a completely arbitrar value. }