Skip to content

[v1.14] Get documents by ID #628

Open
@Strift

Description

@Strift

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: meilisearch/meilisearch#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] });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions