Search API Exclude Entity
Part of the Search ecosystem · 124 projects
This module allows you to control which entities are indexed by Search API. It adds a field to entities that, when enabled, prevents them from being included in search results. This provides flexibility by allowing configuration per entity type and bundle, and ensures seamless integration with Views.
Introduction
This module is the Drupal 8+ / Search API successor to Apache Solr Node Exclude.
It makes it possible to exclude nodes and other entities from being indexed in
search indexes configured using Search API framework.
Compared to the Drupal 7 / Apache Solr version is the new Drupal 8 version
using a custom field type, widget and formatter for controlling the exclude
status on entities. This gives some advantages:
- The field position, field label and description is configurable per entity * / bundle.
- It is possible to use multiple exclude fields on the same entity bundle, if multiple search systems or indexes is being used in the site.
- Views integration out of the box without custom plugins.
The processing in Search API is handled using a custom configurable processing
plugin.
Requirements
- Search API (https://www.drupal.org/project/search_api)
Installation & Configuration
See the documentation.
Branches
2.0.x is the D9 + D10 only version where most work will be going into.
Depends on
Dependencies of the latest stable release
- Search API
- field Drupal core
Required by
1 tracked project depends on this one
More in the Search ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 3.0.1 | Stable | 10–11 | Jul 8, 2026 | |
| 3.0.0 | Stable | 10–11 | Jan 6, 2025 | |
| 3.0.0-beta2 | Pre-release | 10–11 | Jun 10, 2024 | |
| 3.0.0-beta1 | Pre-release | 10–11 | May 28, 2024 | |
| 3.0.x-dev | Dev | 10–11 | Feb 1, 2024 | |
| 2.0.0 | Stable | Jan 27, 2023 | ||
| 2.0.x-dev | Dev | Jan 27, 2023 |