alleyinteractive / alleyinteractive/elasticsearch-extensions

Add an exclude option for aggregations

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.