From 95da428dc8c1ed55dcb8e8b866caf974e0569be4 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 16 Sep 2024 15:18:23 +0200 Subject: [PATCH] Use route in federated --- meilisearch/src/search/federated.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meilisearch/src/search/federated.rs b/meilisearch/src/search/federated.rs index 9d16ca59d..6470002ab 100644 --- a/meilisearch/src/search/federated.rs +++ b/meilisearch/src/search/federated.rs @@ -781,6 +781,7 @@ pub fn perform_federated_search( candidates, override_max_values_per_facet, override_sort_facet_values_by, + super::Route::MultiSearch, ) }) .transpose() @@ -844,6 +845,7 @@ pub fn perform_federated_search( Default::default(), override_max_values_per_facet, override_sort_facet_values_by, + super::Route::MultiSearch, ) { error.message = format!("Inside `.federation.facetsByIndex.{index_uid}`: {}\n Note: index `{index_uid}` is not used in queries", error.message);