Request facet distributions and facet stats in your federated search, by using federation.facetsByIndex in the POST POST /multi-search route.
Merge the returned facets in a single facet distribution and stats that is global to the entire request, by using federation.mergeFacets in the POST POST /multi-search route.
Following this central issue
Explanation of the feature
Related issue in the engine: https://github.com/meilisearch/meilisearch/issues/4932
federation.facetsByIndex
in the POSTPOST /multi-search
route.federation.mergeFacets
in the POSTPOST /multi-search
route.