mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Compress much more the documents database
This commit is contained in:
parent
962bad3cea
commit
e55a569629
@ -494,7 +494,7 @@ fn main() -> anyhow::Result<()> {
|
||||
}, || {
|
||||
// We also merge the documents into its own MTBL store.
|
||||
let file = OpenOptions::new().create(true).truncate(true).write(true).read(true).open(documents_path)?;
|
||||
let mut writer = Writer::builder().compression_type(CompressionType::Snappy).build(file);
|
||||
let mut writer = Writer::builder().compression_type(CompressionType::Zlib).compression_level(9).build(file);
|
||||
let mut builder = Merger::builder(docs_merge);
|
||||
builder.extend(docs_stores);
|
||||
builder.build().write_into(&mut writer)?;
|
||||
|
Loading…
Reference in New Issue
Block a user