Skip to content

Conversation

@JonasKunz
Copy link
Contributor

With our current algorithm, we upscale exponential histograms before merging them to prevent single mis-configured histograms from dragging down the overall accuracy.

However, this up-scaling can introduce a tiny bit of error to the up-scaled histogram, therefore it should not be used when merging intermediate results (e.g. merging histograms which were already merged together at the data-nodes).

This PR simply adds a method to do this alongside with a test.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team v9.3.0 labels Nov 6, 2025
@JonasKunz JonasKunz added >non-issue :StorageEngine/Mapping The storage related side of mappings labels Nov 6, 2025
@JonasKunz JonasKunz requested a review from kkrik-es November 6, 2025 12:27
@elasticsearchmachine elasticsearchmachine added Team:StorageEngine and removed needs:triage Requires assignment of a team area label labels Nov 6, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@JonasKunz JonasKunz merged commit ffa76e5 into elastic:main Nov 7, 2025
34 checks passed
@JonasKunz JonasKunz deleted the exp-histo-merger-noupscale branch November 7, 2025 07:33
Kubik42 pushed a commit to Kubik42/elasticsearch that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor Pull request authored by a developer outside the Elasticsearch team >non-issue :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants