-
Notifications
You must be signed in to change notification settings - Fork 732
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
how you can add aggregation of type sum_bucket? am i right that it is not possible? #1279
Comments
We currently don't have the BTW: It is fairly easy to add a new aggregation. See https://github.com/ruflin/Elastica/tree/master/lib/Elastica/Aggregation for examples. Interested in opening a PR? :-) |
raw-array-query is fine, but it is not possible to combine it, if you build your query in functions, and query is quite complex you dont know exactly on which level you are, so it would helped me if i can insert raw array to the fluent structure if you understand? PR? what does it mean? |
You should be able to add raw parts by using PR stands for Pull Request. You could fork the Elastica repository and open a Pull Request with this new feature. |
ok i will try PR, thanks |
"sum_costs": { "sum_bucket": { "buckets_path": "per_month>per_month_costs" } }
The text was updated successfully, but these errors were encountered: