mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
Fix the analytics
This commit is contained in:
parent
efbe7ce78b
commit
3e3f73ba1e
@ -969,8 +969,11 @@ impl FacetSearchAggregator {
|
|||||||
ret.user_agents = extract_user_agents(request).into_iter().collect();
|
ret.user_agents = extract_user_agents(request).into_iter().collect();
|
||||||
ret.facet_names = Some(facet_name.clone()).into_iter().collect();
|
ret.facet_names = Some(facet_name.clone()).into_iter().collect();
|
||||||
|
|
||||||
ret.additional_search_parameters_provided =
|
ret.additional_search_parameters_provided = q.is_some()
|
||||||
q.is_some() || filter.is_some() || *matching_strategy != MatchingStrategy::default();
|
|| vector.is_some()
|
||||||
|
|| filter.is_some()
|
||||||
|
|| *matching_strategy != MatchingStrategy::default()
|
||||||
|
|| attributes_to_search_on.is_some();
|
||||||
|
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user