fixes tests

fixes tests impacted by sifnature change of query
This commit is contained in:
mposmta 2020-03-25 14:00:29 +01:00
parent fa9b7dd29f
commit a6dcd7a421
4 changed files with 32 additions and 32 deletions

View file

@ -371,7 +371,7 @@ fn search_command(command: SearchCommand, database: Database) -> Result<(), Box<
});
}
let documents = builder.query(ref_reader, &query, 0..command.number_results)?;
let (documents, _nb_hits) = builder.query(ref_reader, &query, 0..command.number_results)?;
let mut retrieve_duration = Duration::default();