From 7c5aad40731e6db97f6ce509015b959cf6b5cb20 Mon Sep 17 00:00:00 2001 From: Guillaume Mourier Date: Thu, 11 Nov 2021 01:38:10 +0100 Subject: [PATCH] fix aggregated search event names --- meilisearch-http/src/analytics/segment_analytics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-http/src/analytics/segment_analytics.rs b/meilisearch-http/src/analytics/segment_analytics.rs index 6ffe4bdeb..231698453 100644 --- a/meilisearch-http/src/analytics/segment_analytics.rs +++ b/meilisearch-http/src/analytics/segment_analytics.rs @@ -254,9 +254,9 @@ impl Segment { .await; } let get_search = std::mem::take(&mut self.get_search_aggregator) - .into_event(&self.user, "Document Searched GET"); + .into_event(&self.user, "Documents Searched GET"); let post_search = std::mem::take(&mut self.post_search_aggregator) - .into_event(&self.user, "Document Searched POST"); + .into_event(&self.user, "Documents Searched POST"); let add_documents = std::mem::take(&mut self.add_documents_aggregator) .into_event(&self.user, "Documents Added"); let update_documents = std::mem::take(&mut self.update_documents_aggregator)