alleyinteractive / alleyinteractive/elasticsearch-extensions

Add an exclude option for aggregations

Offen
#36 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
5
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.