From 3a408e8287d47790b4af9f8651ecbc4e383f7746 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Wed, 3 May 2023 14:44:48 +0200 Subject: [PATCH] Increase map size for tests following charabia camelCase tokenization --- milli/src/index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milli/src/index.rs b/milli/src/index.rs index bc027b1fe..f02719f92 100644 --- a/milli/src/index.rs +++ b/milli/src/index.rs @@ -1329,10 +1329,10 @@ pub(crate) mod tests { let index_documents_config = IndexDocumentsConfig::default(); Self { inner, indexer_config, index_documents_config, _tempdir } } - /// Creates a temporary index, with a default `4096 * 1000` size. This should be enough for + /// Creates a temporary index, with a default `4096 * 2000` size. This should be enough for /// most tests. pub fn new() -> Self { - Self::new_with_map_size(4096 * 1000) + Self::new_with_map_size(4096 * 2000) } pub fn add_documents_using_wtxn<'t, R>( &'t self,