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

[v1.14] Get documents by ID

Open Strift opened this issue 8 months ago • 0 comments

This issue follows the changes related to Meilisearch v1.14.0 mega issue.

Description

Update the SDK to allow retrieving documents by ID.

For more context, see the related issue in Meilisearch: https://github.com/meilisearch/meilisearch/issues/5345

Tasks

  • [ ] Create/update the method to "get documents" to allow retrieving documents by IDs

For reference, here's how this works in Meilisearch JS SDK:

const documents = await client
  .index('index-name')
  .getDocuments({ ids: [1, 2] });

Strift avatar Apr 21 '25 06:04 Strift