Update meilisearch-http/src/index/search.rs

Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
This commit is contained in:
Irevoire 2021-03-23 10:47:19 +01:00 committed by GitHub
parent 46d7cedb18
commit cc81aca6a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ impl Index {
}; };
let result = SearchResult { let result = SearchResult {
exhaustive_nb_hits: false, // not implemented, we use it to be ISO exhaustive_nb_hits: false, // not implemented yet
hits: documents, hits: documents,
nb_hits, nb_hits,
query: query.q.clone().unwrap_or_default(), query: query.q.clone().unwrap_or_default(),