From 32f2556d222fc13b48db1a84e69be8c013758870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 27 Jun 2023 17:38:24 +0200 Subject: [PATCH] Move the additional_search_parameters_provided analytic inside facets --- meilisearch/src/analytics/segment_analytics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meilisearch/src/analytics/segment_analytics.rs b/meilisearch/src/analytics/segment_analytics.rs index 990daf74c..939550cb0 100644 --- a/meilisearch/src/analytics/segment_analytics.rs +++ b/meilisearch/src/analytics/segment_analytics.rs @@ -506,8 +506,8 @@ impl Segment { { let _ = self.batcher.push(post_multi_search).await; } - if let Some(post_facet_search) = take(post_facet_search_aggregator) - .into_event(&user, "Documents Searched by Facet-Search POST") + if let Some(post_facet_search) = + take(post_facet_search_aggregator).into_event(&user, "Facet Searched POST") { let _ = self.batcher.push(post_facet_search).await; } @@ -1027,8 +1027,8 @@ impl FacetSearchAggregator { }, "facets": { "total_distinct_facet_count": self.facet_names.len(), + "additional_search_parameters_provided": self.additional_search_parameters_provided, }, - "additional_search_parameters_provided": self.additional_search_parameters_provided, }); Some(Track {