From 3fc1d7e67b1e022c511ff77f76190568679bd267 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 16 Nov 2022 19:01:21 +0100 Subject: [PATCH] Update the finite pagination analytics --- meilisearch-http/src/analytics/segment_analytics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/analytics/segment_analytics.rs b/meilisearch-http/src/analytics/segment_analytics.rs index b0dbe13f7..bb7724b53 100644 --- a/meilisearch-http/src/analytics/segment_analytics.rs +++ b/meilisearch-http/src/analytics/segment_analytics.rs @@ -664,7 +664,7 @@ impl SearchAggregator { "pagination": { "max_limit": self.max_limit, "max_offset": self.max_offset, - "finite_pagination": self.finite_pagination > self.total_received / 2, + "most_used_navigation": if self.finite_pagination > (self.total_received / 2) { "exhaustive" } else { "estimated" }, }, "formatting": { "max_attributes_to_retrieve": self.max_attributes_to_retrieve,