meilisearch / meilisearch/meilisearch-java

[Meilisearch v1.40] Add support for `distinct` in federated search requests

Open Beginner friendly
#949 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Java
Stars
245
Forks
152
PR merge metrics
No merged PRs in 30d

Description

## Context

[Meilisearch 1.40.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.40.0) introduces support for `distinct` in federated search requests.

> [!note] A federated search is a [multi-search request](https://www.meilisearch.com/docs/reference/api/multi-search/perform-a-multi-search) using the `federation` option.

## Objective

We want to update the multi-search method(s) to accept an optional `distinct` string in the federation options.

## Tasks

- [ ] Update multi-search API method(s) to accept an optional `distinct` attribute in federated search
- [ ] Add test cases for the federated search request using `distinct`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the multi-search API methods and their federated-search request handling. Add support for an optional distinct string in federation options, then add and run test cases covering federated search requests that use distinct; done means the client accepts and sends the attribute correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.