Skip to content

[v1.9.0] Get similar documents #1667

@curquiza

Description

@curquiza

Related to meilisearch/integration-guides#301

Explanation of the feature

Introduction of a new route to get similar documents

Usage: https://meilisearch.notion.site/Get-similar-documents-usage-540919ca755c4da0b7cdee273db3f290?pvs=74

TODO

  • Add a new method named searchSimilarDocuments() having 1 parameter. This parameter is an object correspond to the body you should pass to the POST /similar route. Do not manage error, Meilisearch will handle them if a field is missing in the body.
    Do NOT implement the route for GET /similar, we will add it in a second iteration if requested.
  • Add tests. Here is the basic test to do to check everything is fine

⚠️ Make PRs pointing to bump-meilisearch-v1.9.0 and NOT main. Please do 1 PR for all of these changes, and not several.

Metadata

Metadata

Assignees

Labels

Meilisearch bumpChanges related to the Meilisearch bump versiongood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions