meilisearch-java
meilisearch-java copied to clipboard
[v1.11.0] Support facet distribution for federated search
Following this central issue
Explanation of the feature
Related issue in the engine: https://github.com/meilisearch/meilisearch/issues/4932
- Request facet distributions and facet stats in your federated search, by using
federation.facetsByIndex
in the POSTPOST /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 POSTPOST /multi-search
route.