mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
BREAKING CHANGE: errors if queries.facets in federated search
This commit is contained in:
parent
f6114a1ff2
commit
7b55462610
@ -342,6 +342,10 @@ pub fn perform_federated_search(
|
||||
.into());
|
||||
}
|
||||
|
||||
if federated_query.has_facets() {
|
||||
return Err(MeilisearchHttpError::FacetsInFederatedQuery(query_index).into());
|
||||
}
|
||||
|
||||
let (index_uid, query, federation_options) = federated_query.into_index_query_federation();
|
||||
|
||||
queries_by_index.entry(index_uid.into_inner()).or_default().push(QueryByIndex {
|
||||
|
Loading…
Reference in New Issue
Block a user