meilisearch / meilisearch/meilisearch-java

[v1.10.0] Update documents by function

Open
#769 1 comment 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

Following this central issue

Explanation of the feature

Add a new capability to update documents based on a function

Usage: https://meilisearch.notion.site/Update-Documents-by-Function-0cff8fea7655436592e7c8a6de932062

TODO
  • Add a new method named updateDocumentsByFunction calling the newly added /indexes/:uid/documents/edit. This method accepts an object as parameter
  • Add tests

⚠️ Please do 1 PR for all of these changes, and not several.

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 with the linked usage specification and the new /indexes/:uid/documents/edit endpoint described in the issue. Add the updateDocumentsByFunction method accepting an object, then add tests that cover the new request and run the Java client test suite to confirm the behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.