mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
CHange prefix treasholds to reduce their impact on the indexing time
This commit is contained in:
parent
fb9db1eba6
commit
8cc2bc4e17
@ -15,7 +15,7 @@ pub struct WordsPrefixesFst<'t, 'i> {
|
||||
|
||||
impl<'t, 'i> WordsPrefixesFst<'t, 'i> {
|
||||
pub fn new(wtxn: &'t mut RwTxn<'i>, index: &'i Index) -> WordsPrefixesFst<'t, 'i> {
|
||||
WordsPrefixesFst { wtxn, index, threshold: 100, max_prefix_length: 4 }
|
||||
WordsPrefixesFst { wtxn, index, threshold: 500, max_prefix_length: 3 }
|
||||
}
|
||||
|
||||
/// Set the number of words required to make a prefix be part of the words prefixes
|
||||
|
Loading…
Reference in New Issue
Block a user