From 012c960fad5507d9c8456155203ced4251e1e73e Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Mon, 10 Jul 2023 16:50:37 +0200 Subject: [PATCH] Send the vector.max_vector_size telemetry --- meilisearch/src/analytics/segment_analytics.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meilisearch/src/analytics/segment_analytics.rs b/meilisearch/src/analytics/segment_analytics.rs index 1a8843a37..35d02605d 100644 --- a/meilisearch/src/analytics/segment_analytics.rs +++ b/meilisearch/src/analytics/segment_analytics.rs @@ -723,6 +723,9 @@ impl SearchAggregator { // q self.max_terms_number = self.max_terms_number.max(other.max_terms_number); + // vector + self.max_vector_size = self.max_vector_size.max(other.max_vector_size); + // pagination self.max_limit = self.max_limit.max(other.max_limit); self.max_offset = self.max_offset.max(other.max_offset); @@ -789,6 +792,9 @@ impl SearchAggregator { "q": { "max_terms_number": self.max_terms_number, }, + "vector": { + "max_vector_size": self.max_vector_size, + }, "pagination": { "max_limit": self.max_limit, "max_offset": self.max_offset,