Introduce a database to store all docids for a word and attribute

This commit is contained in:
Kerollmops 2020-06-22 19:04:10 +02:00
parent a044cb6cc8
commit 374ec6773f
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 59 additions and 8 deletions

View file

@ -30,7 +30,7 @@ fn main() -> anyhow::Result<()> {
let env = EnvOpenOptions::new()
.map_size(100 * 1024 * 1024 * 1024) // 100 GB
.max_readers(10)
.max_dbs(5)
.max_dbs(10)
.open(opt.database)?;
let index = Index::new(&env)?;