meilisearch-java icon indicating copy to clipboard operation
meilisearch-java copied to clipboard

[Meilisearch v1.47.0] Add personalized search (experimental)

Open Strift opened this issue 5 months ago • 1 comments

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

Strift avatar Jun 16 '26 06:06 Strift

I'd like to take this one. I'll open a PR shortly.

GabrielBBaldez avatar Jun 16 '26 14:06 GabrielBBaldez