meilisearch / meilisearch/meilisearch-java

[Meilisearch v1.31] Allow `skipCreation` when adding/replacing documents

Open
#919 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

Description

Meilisearch v1.31.0 introduced a new skipCreation parameter to skip document creationg when using:

We want to update this SDK to allow passing the skipCreation parameter to the relevant API calls:

  • POST /indexes/{index_uid}/documents
  • PUT /indexes/{index_uid}/documents

Tasks

  • Update documents API methods to accept a boolean to skip creation
  • Update test cases for the relevant methods
  • Update the examples in .code-samples.meilisearch.yaml under the add_or_replace_documents_1 and add_or_update_documents_1 keys

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 document API methods that call POST and PUT /indexes/{index_uid}/documents, then inspect their existing tests. Add coverage for the boolean skipCreation option and update .code-samples.meilisearch.yaml under add_or_replace_documents_1 and add_or_update_documents_1; done means both methods and examples expose the new parameter.

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
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.