You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we were reading the star tree documents from the segment during merges, we were transforming the segment metric doc value to its original field type. Instead, it should be converted to aggregator value type since before indexing doc values, the metric type is of the aggregator value type.
For Example.
If there is a Half Float Metric Field, with the SUM metric (double type). The Half Float Metric field is converted to double during aggregation and indexed as "double". During reads, the metric should be converted from sortable long back to double only for accurate aggregations.
Related component
Indexing:Performance
To Reproduce
Merges during star tree will break for any other data type than double
Expected behavior
The metric should be converted to aggregated value type during merges.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
OS: [e.g. iOS]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Whenever we were reading the star tree documents from the segment during merges, we were transforming the segment metric doc value to its original field type. Instead, it should be converted to aggregator value type since before indexing doc values, the metric type is of the aggregator value type.
For Example.
If there is a Half Float Metric Field, with the SUM metric (double type). The Half Float Metric field is converted to double during aggregation and indexed as "double". During reads, the metric should be converted from sortable long back to double only for accurate aggregations.
Related component
Indexing:Performance
To Reproduce
Merges during star tree will break for any other data type than double
Expected behavior
The metric should be converted to aggregated value type during merges.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: