From 6660be2cb717decb8bd6301758aa1526e8bf4062 Mon Sep 17 00:00:00 2001 From: Guillaume Mourier Date: Thu, 4 Nov 2021 08:03:48 +0100 Subject: [PATCH] Branch POST /search on the dedicated analytics aggregator --- meilisearch-http/src/routes/indexes/search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/routes/indexes/search.rs b/meilisearch-http/src/routes/indexes/search.rs index ea115efdd..7e2b0fd08 100644 --- a/meilisearch-http/src/routes/indexes/search.rs +++ b/meilisearch-http/src/routes/indexes/search.rs @@ -150,7 +150,7 @@ pub async fn search_with_post( if let Ok(ref search_result) = search_result { aggregate.succeed(search_result); } - analytics.get_search(aggregate); + analytics.post_search(aggregate); let search_result = search_result?;