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

   A `search` with `pages` and `results-per-page` is how OpenSearch Benchmark 
writes a scroll. The converter kept it a `search`, which Solr answers with one 
page, so the operation paged nothing.
   
   It now becomes a `paginated-search`:
   - the body's query and filters become `q` and `fq`;
   - the sort is upstream's with `id asc` appended, or `id asc` alone, because 
a cursor needs a sort ending with the uniqueKey and refuses `_docid_`;
   - no `fl` is set, so each page returns the stored fields.
   
   A `paginated-search` now also targets the workload's collection when it 
names none, as a bare commit or refresh does.
   
   For geonames the converter now writes the scroll operation of 
solr-orbit-workloads. On a 1,000,436-document sample it reads 25 pages of 1000 
documents, as OpenSearch's scroll does. The new tests fail without the change.
   


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