meilisearch / meilisearch/meilisearch-java
[Meilisearch v1.40] Add support for `distinct` in federated search requests
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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