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

Support "multi_terms" Aggregation #148

Open
sanvir10 opened this issue Jun 28, 2021 · 3 comments
Open

Support "multi_terms" Aggregation #148

sanvir10 opened this issue Jun 28, 2021 · 3 comments

Comments

@sanvir10
Copy link

Elasticsearch add new type of Aggregation in version 7.12:
https://www.elastic.co/guide/en/elasticsearch//reference/master/search-aggregations-bucket-multi-terms-aggregation.html

Regards.

@sudo-suhas
Copy link
Owner

@sanvir10 would you be interested in creating a PR for the same?

@miralaur
Copy link

something like this:
class MultiTerms extends Aggregation {
constructor(name) {
super(name, 'multi_terms');
this._aggsDef.terms = [];
}

terms(terms) {
this._aggsDef.terms = [...terms];
return this;
}
}

@skined90
Copy link

Any update on this one?

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

No branches or pull requests

4 participants