Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to skip failing records on saveObjects() rather than letting the complete operation fail #1506

Open
felixhagspiel opened this issue Feb 11, 2024 · 0 comments

Comments

@felixhagspiel
Copy link

I tried to add records to my index and one of those records exceeds the size:
content: '{"message":"Record at the position 69 objectID=0db0a327-b567-4225-bd4e-9f1019c930cd is too big size='...

Apparently the complete batch operation fails, i.e. no records are written to the index at all. Is there any option to just skip failing records and still write the others to the index? I have not found such an option in the docs.

The only (not so nice) option I see is to check the error response, get the failed record IDs, remove them from the record list and try the operation again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant