doc: Add indexation and search usage instructions

This commit is contained in:
Clément Renault
2018-09-15 21:25:04 +02:00
parent 626f69737e
commit 2484ef80bc
3 changed files with 25 additions and 2 deletions

View File

@ -46,7 +46,7 @@ fn search(metadata: &Metadata, database: &DB, common_words: &CommonWords, query:
}
fn main() {
let name = env::args().nth(1).expect("Missing meta file name (e.g. lucid-ptolemy)");
let name = env::args().nth(1).expect("Missing meta file name (e.g. relaxed-colden)");
let map_file = format!("{}.map", name);
let idx_file = format!("{}.idx", name);
let sst_file = format!("{}.sst", name);