typesense / typesense/typesense

Feature Request : Partial Success Status code for Batch Imports with errors

Open
#572 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
26.6k
Forks
973
Avg merge
18h 45m
Merged PRs (30d)
4

Description

I would like to request addition of Partial Success Status code for batch imports with some errors.
Always getting a 200 Status code forces the client application to check through data each time request is made.
If possible i would like to avoid this and would request either a 206 or 207 response code be sent that would distinguish between a completely successful batch import and a partially successful batch import.

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 batch import API entry point and its current HTTP response handling. Review how individual import errors are represented and decide which response status and response body should identify partial success. Done means completely successful and partially successful batches are distinguishable without clients inspecting every record, with tests covering both outcomes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.