-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Sigma should be a double? on ExtendedStatsBucketAggregation #1982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@russcam How would this be a breaking change, when |
@jonyadamit My bad, I thought it'd gone into 2.1.0 but I was looking at |
👍 I had actually made this change in master (7273f55) but never cherry picked it to 2.x. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NEST/Elasticsearch.Net version: 2.1.0
Elasticsearch version: 2.3.0
Description of the problem including expected versus actual behavior:
Sigma
is specified as anint?
onExtendedStatsBucketAggregation
but it should be adouble?
(based on the docs of Extended Stats Aggregation).Sending a number without decimal places throws a parse exception on Elasticsearch 2.3.0:
Request:
Response:
Steps to reproduce:
Sigma
todouble?
fixes the problem. This would be a binary break for NEST 2.x however 😞See also elastic/elasticsearch#17499 - I filed an issue as I think Elasticsearch should also accept an integer value for
sigma
(and deserialize to double on the server side).The text was updated successfully, but these errors were encountered: