meilisearch-java
meilisearch-java copied to clipboard
[Meilisearch v1.47.0] Add personalized search (experimental)
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
- [x] No code samples to update
I'd like to take this one. I'll open a PR shortly.