-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Unable to use WeightedAvg aggregation with Rest High Level Client #36474
Labels
Comments
Pinging @elastic/es-core-features |
Can still reproduce it on master. |
colings86
added
:Analytics/Aggregations
Aggregations
and removed
:Core/Features/Java High Level REST Client
labels
Dec 11, 2018
Pinging @elastic/es-analytics-geo |
talevy
added a commit
to talevy/elasticsearch
that referenced
this issue
Dec 13, 2018
This commit turns MultiValuesSourceFieldConfig into a proper ToXContentObject for easy testing and verification of its to/from XContent methods. Closes elastic#36474.
talevy
added a commit
that referenced
this issue
Dec 13, 2018
This commit turns MultiValuesSourceFieldConfig into a proper ToXContentObject for easy testing and verification of its to/from XContent methods. Closes #36474.
Nice turnaround time! 👍 |
talevy
added a commit
that referenced
this issue
Dec 13, 2018
This commit turns MultiValuesSourceFieldConfig into a proper ToXContentObject for easy testing and verification of its to/from XContent methods. Closes #36474.
talevy
added a commit
that referenced
this issue
Dec 13, 2018
This commit turns MultiValuesSourceFieldConfig into a proper ToXContentObject for easy testing and verification of its to/from XContent methods. Closes #36474.
@tKe thanks for the report. Fix for this was pushed and should be made available in the versions tagged on the Pull Request. Hope all is resolved for you after upgrading when they are made available! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Elasticsearch version (
bin/elasticsearch --version
):6.5.2
Plugins installed:
N/A
JVM version (
java -version
):1.8.0_172
OS version (
uname -a
if on a Unix-like system):Linux 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
Adding a weighted_avg aggregation to a search source results in an exception when marshalling the source:
com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value
Steps to reproduce:
A minimal test case (based on the example
weighted_avg
usage in the documentation) for this is as follows:Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: