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

   Fixes #162.
   
   A converted `histogram` always covered 0 to 1,000,000. It now takes `start` 
and `end` from the query's numeric range on the same field, starts at a 
multiple of the interval like OpenSearch's bucket keys, and adds one interval 
after an inclusive upper bound. A histogram whose query has no range gets 
`REPLACE_WITH_START` and `REPLACE_WITH_END` and a warning, as `date_histogram` 
does since #159, so such an operation now fails when run instead of counting a 
fixed window.
   
   On the nyc_taxis and geonames data the converted histogram gives the same 
buckets and hit counts as OpenSearch for 17 ranges and intervals, including 
unaligned starts, inclusive bounds, negative values, and integer and 
floating-point fields. 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