Add ability to show missing items in facets

Created on 10 July 2025, 6 days ago

Problem/Motivation

We are in the process of switching our site's facets from blocks to Better Exposed Filters, which is a very welcome update. However, we are missing the ability to add a missing result with a customizable label.

Description of the functionality in the block-based format: Show missing - Add a facet item that counts and selects all search results which match the current query but do not belong to any of the facet items. Also has the ability to add "Label of missing items"

Our site is an image database, and in some contexts, browse-ability relies on a missing result. For example, to filter thousands of images to differentiate a general image of a building from an image with more specific details. We also rely on it for internal quality control views, to quite literally find missing items.

Many thanks to all

✨ Feature request
Status

Active

Version

7.1

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lspeck
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Sounds like an issue for facets not bef.

  • The functionality already exists on facet blocks, but as their guidance is to move to BEF going forward, this functionality would be extremely helpful for our workflows. This is similar to the recently added soft limit feature -- see closed issue #3504532

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Right but that feature is generic to checkboxes in general and doesn't do any additional searches.

    Example BEF doesn't add the count next to each checkbox facets does that. So if this functionality sounds like it's only for search stuff and I still think probably in the facet plugins.

Production build 0.71.5 2024