algolia / algolia/algoliasearch-client-scala

createIfNotExists ignored in batch mode

Open
#508 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
27
Forks
24
PR merge metrics
No merged PRs in 30d

Description

- Algolia Client Version: 1.29.0
- Language Version: Scala

### Description
When using partialUpdate in batch mode, new object is created even if createIfNotExists is false.

### Steps To Reproduce
`client.execute {
partialUpdate.from(indexName).createIfNotExists(false).objects(myObjects)
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Scala client's batch implementation for partialUpdate and the createIfNotExists option. Reproduce the reported call using partialUpdate.from(indexName).createIfNotExists(false).objects(myObjects), then verify that an update of a missing object does not create it in batch mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.