mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Fix memory consuption in word pair proximity extractor
This commit is contained in:
parent
9452fabfb2
commit
b3a22f31f6
@ -29,7 +29,7 @@ pub fn extract_word_pair_proximity_docids<R: io::Read>(
|
|||||||
indexer.chunk_compression_type,
|
indexer.chunk_compression_type,
|
||||||
indexer.chunk_compression_level,
|
indexer.chunk_compression_level,
|
||||||
indexer.max_nb_chunks,
|
indexer.max_nb_chunks,
|
||||||
max_memory,
|
max_memory.map(|m| m / 2),
|
||||||
);
|
);
|
||||||
|
|
||||||
let mut number_of_documents = 0;
|
let mut number_of_documents = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user