meilisearch / meilisearch/meilisearch-java
[Meilisearch v1.47.0] Add personalized search (experimental)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 245
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
Context
Meilisearch 1.47.0 adds full support for personalized search (experimental) to the search endpoint.
NB: before 1.47.0, federated search requests did not support personalized search.
Objective
Update the SDK to support personalized search on the search endpoint.
Update the corresponding SDK methods
Both related API endpoints now accept a new personalize object parameter:
{
// other request parameters...
"personalize": {
"userContext": "The user prefers ..."
}
}
Tasks
- Add/update methods to handle interacting with the search API endpoints
- Add/update test cases for the new/updated methods
- No code samples to update
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 by locating the SDK methods for the Search (POST) and Search (GET) endpoints, then read their existing test cases and request models. Add coverage showing that the personalize object, including userContext, is accepted for both endpoints and verify the request behavior through the tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100