mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
fix the bad index version on opening
This commit is contained in:
parent
4f21ee6c66
commit
7197ced673
16 changed files with 31 additions and 21 deletions
|
@ -68,7 +68,7 @@ pub fn base_setup(conf: &Conf) -> Index {
|
|||
let mut options = EnvOpenOptions::new();
|
||||
options.map_size(100 * 1024 * 1024 * 1024); // 100 GB
|
||||
options.max_readers(100);
|
||||
let index = Index::new(options, conf.database_name).unwrap();
|
||||
let index = Index::new(options, conf.database_name, true).unwrap();
|
||||
|
||||
let config = IndexerConfig::default();
|
||||
let mut wtxn = index.write_txn().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue