mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Change chunk size to 4MiB to fit more the end user usage
This commit is contained in:
parent
0f8320bdc2
commit
b188063869
@ -248,7 +248,7 @@ impl<'t, 'u, 'i, 'a> IndexDocuments<'t, 'u, 'i, 'a> {
|
|||||||
let chunk_iter = grenad_obkv_into_chunks(
|
let chunk_iter = grenad_obkv_into_chunks(
|
||||||
documents_file,
|
documents_file,
|
||||||
params.clone(),
|
params.clone(),
|
||||||
self.documents_chunk_size.unwrap_or(1024 * 1024 * 128), // 128MiB
|
self.documents_chunk_size.unwrap_or(1024 * 1024 * 4), // 4MiB
|
||||||
);
|
);
|
||||||
|
|
||||||
let result = chunk_iter.map(|chunk_iter| {
|
let result = chunk_iter.map(|chunk_iter| {
|
||||||
|
Loading…
Reference in New Issue
Block a user