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

Co-authored-by: marin <postma.marin@protonmail.com>
This commit is contained in:
Irevoire 2021-03-23 10:46:59 +01:00 committed by GitHub
parent 91089db444
commit 46d7cedb18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ pub struct SearchQuery {
pub struct SearchResult { pub struct SearchResult {
pub hits: Vec<Map<String, Value>>, pub hits: Vec<Map<String, Value>>,
pub nb_hits: u64, pub nb_hits: u64,
pub exhaustive_nb_hits: bool, // currently this field only exist to be ISO and is always alse pub exhaustive_nb_hits: bool, // currently this field only exist to be ISO and is always false
pub query: String, pub query: String,
pub limit: usize, pub limit: usize,
pub offset: usize, pub offset: usize,