mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-25 22:34:28 +01:00
Use route in federated
This commit is contained in:
parent
38c4be1c8e
commit
95da428dc8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user