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

How to use Facets Filter #17

Closed
stonely2012 opened this issue Jun 19, 2015 · 1 comment
Closed

How to use Facets Filter #17

stonely2012 opened this issue Jun 19, 2015 · 1 comment

Comments

@stonely2012
Copy link

I use Facets with addAggregation as below
$query->addAggregation('category', 'terms', ['field' => 'category_id']);

Now, I only want facets with category with parent category id = 30. How to filter it?

@klimov-paul
Copy link
Member

@stonely2012, please use Official Yii forum to ask a questions - GitHub is a bug tracking system.

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

2 participants