feat: Handle word doc-indexes sled tree errors

This commit is contained in:
Clément Renault 2019-05-02 12:10:54 +02:00
parent 737db5668b
commit 6eb25687f8
No known key found for this signature in database
GPG key ID: 0151CDAB43460DAE
2 changed files with 11 additions and 13 deletions

View file

@ -161,7 +161,7 @@ fn main() -> Result<(), Box<Error>> {
let start_total = Instant::now();
let builder = index.query_builder();
let documents = builder.query(query, 0..opt.number_results);
let documents = builder.query(query, 0..opt.number_results)?;
let mut retrieve_duration = Duration::default();