alleyinteractive / alleyinteractive/elasticsearch-extensions
Add an exclude option for aggregations
Open
- Dominant language
- PHP
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
A common use case is to include items in search results that have a certain post type (e.g., page) or term that we don't want to appear as selectable in the aggregation. Add an `exclude` parameter when registering aggregations that allows exclusion by key (for example, pages would still show up in search results, but the "Page" bucket wouldn't appear under the post type aggregation list in checkboxes etc).
Contributor guide
Assessment
This issue has not been assessed yet.