chore(search): rename in the search endpoint

Fix ##2376
This commit is contained in:
Irevoire 2022-05-18 13:17:56 +02:00 committed by Tamo
parent ae4e419db4
commit 4e9accdeb7
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
6 changed files with 50 additions and 67 deletions

View file

@ -687,10 +687,10 @@ mod test {
attributes_to_crop: None,
crop_length: 18,
attributes_to_highlight: None,
matches: true,
show_matches_position: true,
filter: None,
sort: None,
facets_distribution: None,
facets: None,
highlight_pre_tag: default_highlight_pre_tag(),
highlight_post_tag: default_highlight_post_tag(),
crop_marker: default_crop_marker(),
@ -698,14 +698,12 @@ mod test {
let result = SearchResult {
hits: vec![],
nb_hits: 29,
exhaustive_nb_hits: true,
estimated_total_hits: 29,
query: "hello world".to_string(),
limit: 24,
offset: 0,
processing_time_ms: 50,
facets_distribution: None,
exhaustive_facets_count: Some(true),
facet_distribution: None,
};
let mut uuid_store = MockIndexMetaStore::new();