fix the bad index version on opening

This commit is contained in:
Tamo
2025-01-23 12:31:10 +01:00
committed by Louis Dureuil
parent 4f21ee6c66
commit 7197ced673
16 changed files with 31 additions and 21 deletions

View File

@ -15,7 +15,7 @@ fn test_facet_distribution_with_no_facet_values() {
let path = tempfile::tempdir().unwrap();
let mut options = EnvOpenOptions::new();
options.map_size(10 * 1024 * 1024); // 10 MB
let index = Index::new(options, &path).unwrap();
let index = Index::new(options, &path, true).unwrap();
let mut wtxn = index.write_txn().unwrap();
let config = IndexerConfig::default();