Use route in federated

This commit is contained in:
Louis Dureuil 2024-09-16 15:18:23 +02:00
parent 38c4be1c8e
commit 95da428dc8
No known key found for this signature in database

View File

@ -781,6 +781,7 @@ pub fn perform_federated_search(
candidates, candidates,
override_max_values_per_facet, override_max_values_per_facet,
override_sort_facet_values_by, override_sort_facet_values_by,
super::Route::MultiSearch,
) )
}) })
.transpose() .transpose()
@ -844,6 +845,7 @@ pub fn perform_federated_search(
Default::default(), Default::default(),
override_max_values_per_facet, override_max_values_per_facet,
override_sort_facet_values_by, override_sort_facet_values_by,
super::Route::MultiSearch,
) { ) {
error.message = error.message =
format!("Inside `.federation.facetsByIndex.{index_uid}`: {}\n Note: index `{index_uid}` is not used in queries", error.message); format!("Inside `.federation.facetsByIndex.{index_uid}`: {}\n Note: index `{index_uid}` is not used in queries", error.message);