Skip to content
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

Aggregations: Add filters aggregation #6118

Closed
uboness opened this issue May 11, 2014 · 4 comments · Fixed by #6974
Closed

Aggregations: Add filters aggregation #6118

uboness opened this issue May 11, 2014 · 4 comments · Fixed by #6974

Comments

@uboness
Copy link
Contributor

uboness commented May 11, 2014

Add a filters (note the s) aggregation that takes a list of filters and uses them to construct multiple buckets.

Technically the user could create multiple filter aggregations, however this gets messy if they have several sub aggregations as they would need to copy the contents into each of the top level aggregations.

@s1monw
Copy link
Contributor

s1monw commented Jul 9, 2014

@uboness I pushed this out to 1.4

@s1monw s1monw added v1.4.0 and removed v1.3.0 labels Jul 9, 2014
@uboness
Copy link
Contributor Author

uboness commented Jul 9, 2014

+1

@rashidkpc
Copy link

Out of curiosity, what is blocking this? Just review?

@uboness
Copy link
Contributor Author

uboness commented Jul 17, 2014

@rashidkpc already talked with @colings86 about taking over and getting it in

@clintongormley clintongormley assigned colings86 and unassigned uboness Jul 18, 2014
uboness added a commit that referenced this issue Aug 1, 2014
A multi-bucket aggregation where multiple filters can be defined (each filter defines a bucket). The buckets will collect all the documents that match their associated filter.

This aggregation can be very useful when one wants to compare analytics between different criterias. It can also be accomplished using multiple definitions of the single filter aggregation, but here, the user will only need to define the sub-aggregations only once.

Closes #6118
@spinscale spinscale changed the title Add filters aggregation Aggregations: Add filters aggregation Aug 4, 2014
uboness added a commit that referenced this issue Sep 8, 2014
A multi-bucket aggregation where multiple filters can be defined (each filter defines a bucket). The buckets will collect all the documents that match their associated filter.

This aggregation can be very useful when one wants to compare analytics between different criterias. It can also be accomplished using multiple definitions of the single filter aggregation, but here, the user will only need to define the sub-aggregations only once.

Closes #6118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants