mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
fixes tests
fixes tests impacted by sifnature change of query
This commit is contained in:
parent
fa9b7dd29f
commit
a6dcd7a421
4 changed files with 32 additions and 32 deletions
|
@ -224,8 +224,8 @@ impl<'a> SearchBuilder<'a> {
|
|||
|
||||
let start = Instant::now();
|
||||
let result = query_builder.query(reader, &self.query, self.offset..(self.offset + self.limit));
|
||||
let time_ms = start.elapsed().as_millis() as usize;
|
||||
let (docs, nb_hits) = result.map_err(|e| Error::SearchDocuments(e.to_string()))?;
|
||||
let time_ms = start.elapsed().as_millis() as usize;
|
||||
|
||||
let mut hits = Vec::with_capacity(self.limit);
|
||||
for doc in docs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue