From 26deeb45a352d62c7dd44c866e8c9213b7f52e48 Mon Sep 17 00:00:00 2001 From: many Date: Thu, 9 Sep 2021 17:49:04 +0200 Subject: [PATCH] Add lacking parameter to word level position builder --- milli/src/update/index_documents/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/milli/src/update/index_documents/mod.rs b/milli/src/update/index_documents/mod.rs index 7800ae55a..861a5489e 100644 --- a/milli/src/update/index_documents/mod.rs +++ b/milli/src/update/index_documents/mod.rs @@ -416,6 +416,8 @@ impl<'t, 'u, 'i, 'a> IndexDocuments<'t, 'u, 'i, 'a> { let mut builder = WordsLevelPositions::new(self.wtxn, self.index); builder.chunk_compression_type = self.chunk_compression_type; builder.chunk_compression_level = self.chunk_compression_level; + builder.max_nb_chunks = self.max_nb_chunks; + builder.max_memory = self.max_memory; if let Some(value) = self.words_positions_level_group_size { builder.level_group_size(value); }