serhiy-bzhezytskyy opened a new issue, #162:
URL: https://github.com/apache/solr-orbit/issues/162

   ### Description
   `convert-workload` writes every `histogram` aggregation as a range facet 
with `start: 0` and `end: 1000000`, whatever the query asks for.
   
   ### To reproduce
   ```
   solr-orbit convert-workload --workload-path 
<opensearch-benchmark-workloads>/nyc_taxis --output-path out/nyc_taxis
   ```
   In `out/nyc_taxis/operations/default.json`, `distance_amount_agg` filters 
`trip_distance` to `[0, 50)` with an interval of 1. It converts to 
`trip_distance:[0 TO 50}` with a facet that has `"start": 0, "end": 1000000`. 
The facet does not follow the query, and a value outside that window falls in 
no bucket.
   
   ### Expected behavior
   The facet spans the query's range on the same field, starting at a multiple 
of the interval as OpenSearch's bucket keys do. With no range in the query the 
operation should say so, as `date_histogram` does since #159.
   
   ### Host / Environment
   solr-orbit main c391ea33.
   


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

  • [I] [Bug]: convert-workload giv... serhiy-bzhezytskyy (via GitHub) via issues

Reply via email to