serhiy-bzhezytskyy opened a new issue, #166:
URL: https://github.com/apache/solr-orbit/issues/166
### Description
With id conflicts, every bulk request that carries an `update` action fails,
so the `update` procedure of nyc_taxis indexes nothing in its update task:
`update` has a 100 % error rate while the run reports SUCCESS.
The bulk source writes an update as `{"update": {"_id": …}}` followed by
`{"doc": {…}}`, OpenSearch's partial update. The runner passes the `{"doc": …}`
object to Solr as it is, and Solr reads it as a child document without an id:
```
[doc=null] missing required field: id
[doc=null] multiple values encountered for non multiValued field
pickup_location: [-73.98, 40.75]
```
(the second when the fields include a geo point, which is converted from
`[lon, lat]` only at a document's top level).
### To reproduce
```
solr-orbit run --pipeline=benchmark-only --target-hosts=localhost:8983
--workload-path=<solr-orbit-workloads>/nyc_taxis --test-procedure=update
--test-mode
```
on Solr 10.1.0: `update` error rate 100 %, with and without
`--randomization-enabled`.
### Expected
The fields of `doc` are applied to the existing document. Solr's atomic
update (`{"field": {"set": value}}`) does that, and like OpenSearch's partial
update it reads the stored document, merges the fields and writes the result.
The same procedure in OpenSearch Benchmark against OpenSearch runs with a 0 %
error rate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]