meilisearch / meilisearch/meilisearch-java
[v1.14] Get documents by ID
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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