Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.11.0] Support facet distribution for federated search #1030

Open
brunoocasali opened this issue Oct 28, 2024 · 1 comment
Open

[v1.11.0] Support facet distribution for federated search #1030

brunoocasali opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@brunoocasali
Copy link
Member

Following this central issue

Explanation of the feature

Related issue in the engine: meilisearch/meilisearch#4932

  • 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.
@brunoocasali brunoocasali added enhancement New feature or request good first issue Good for newcomers labels Oct 28, 2024
@ellnix
Copy link
Contributor

ellnix commented Feb 3, 2025

I don't think this needs any action, since the multi search method accepts a Dict of options:

    def multi_search(
        self, queries: Sequence[Mapping[str, Any]], federation: Optional[Dict[str, Any]] = None
    ) -> Dict[str, List[Dict[str, Any]]]:

def multi_search(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants