Skip to content

Conversation

@pquentin
Copy link
Member

This fixes 8 validation errors when validating the Search API.

Comment on lines +182 to +187
/**
* The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases).
* To use an implementation optimized for accuracy, set this parameter to high_accuracy instead.
* @server_default default
*/
execution_hint?: TDigestExecutionHint
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +62 to +67
/**
* The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases).
* To use an implementation optimized for accuracy, set this parameter to high_accuracy instead.
* @server_default default
*/
execution_hint?: TDigestExecutionHint
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +257 to 260
export enum TDigestExecutionHint {
default,
high_accuracy
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +249 to +254
/**
* The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases).
* To use an implementation optimized for accuracy, set this parameter to high_accuracy instead.
* @server_default default
*/
execution_hint?: TDigestExecutionHint
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pquentin pquentin merged commit 7efcc50 into main Jun 18, 2025
9 of 10 checks passed
@pquentin pquentin deleted the tdigest-execution-hint branch June 18, 2025 04:23
github-actions bot pushed a commit that referenced this pull request Jun 18, 2025
pquentin added a commit that referenced this pull request Jun 18, 2025
(cherry picked from commit 7efcc50)

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants