serhiy-bzhezytskyy opened a new pull request, #203:
URL: https://github.com/apache/solr-orbit/pull/203

   An operation or a parameter source that carried the OpenSearch name `index` 
was read as a collection, and search and bulk parameters reached the runners 
under that name: `{"index": "nyc_taxis"}` ran as a Solr request against 
`nyc_taxis` with no word that the name is not Solr's.
   
   The target is now `collection` wherever it is read and written (`params.py`, 
`loader.py`, `runner.py`). An operation that names `index` stops with 
`Operation parameter 'index' is not used by Solr Orbit, use 'collection'` and a 
pointer to `convert-workload`; the empty `"index": None` that parameter sources 
copied from OpenSearch workloads return is ignored. The converter already 
writes `collection`, and none of the shipped workloads uses `index`.
   
   Test with:
   ```
   pytest tests/workload -q          # 2 new tests fail without the change
   solr-orbit run --pipeline=benchmark-only --target-hosts=localhost:8983 
--workload-path=<solr-orbit-workloads>/nyc_taxis 
--test-procedure=append-no-conflicts --test-mode --randomization-enabled
   ```
   Run on Solr 10.1.0: SUCCESS, error rate 0 in every task.
   


-- 
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]

Reply via email to