mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Change indexing threshold
This commit is contained in:
parent
3092cf0448
commit
24c0775c67
@ -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.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user