meilisearch / meilisearch/meilisearch-java

[v1.14] Get documents by ID

Open
#841 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Java
Stars
245
Forks
152
PR merge metrics
No merged PRs in 30d

Description

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] });

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Java SDK's existing document-retrieval method and its public entry point. Compare its behavior with the linked Meilisearch JS SDK example and the related Meilisearch issue, then verify that callers can pass document IDs and receive the matching documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.