Increase map size for tests following charabia camelCase tokenization

This commit is contained in:
Louis Dureuil 2023-05-03 14:44:48 +02:00
parent d3e5b10e23
commit 3a408e8287
No known key found for this signature in database

View File

@ -1329,10 +1329,10 @@ pub(crate) mod tests {
let index_documents_config = IndexDocumentsConfig::default(); let index_documents_config = IndexDocumentsConfig::default();
Self { inner, indexer_config, index_documents_config, _tempdir } 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. /// most tests.
pub fn new() -> Self { 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>( pub fn add_documents_using_wtxn<'t, R>(
&'t self, &'t self,