Drupal is a registered trademark of Dries Buytaert
File Entity (fieldable files) 8.x-2.7 Minor update available for module file_entity (8.x-2.7). Field Group 4.1.0-alpha4 New alpha version released for module field_group (4.1.0-alpha4). OpenCulturas 3.0.5 Minor update available for distribution openculturas (3.0.5). Themespace 4.0.0 Major update available for module themespace (4.0.0). Recombee 2.0.7 Minor update available for module recombee (2.0.7). Permissions Analyzer 1.0.1 Minor update available for module permissions_analyzer (1.0.1). UaePass 1.0.0 Initial release available for module uaepass (1.0.0)! Sahaza Intranet 1.0.2 Minor update available for distribution sahaza_group_intranet (1.0.2). Session Limit Module session_limit crossed 1,000 active installs. Kint 2.3.4 Module kint updated after 6 months of inactivity (2.3.4).

This module provides a Search API preprocess plugin to remove specific HTML elements, like sidebars or unwanted content, from fields before they are indexed. This helps refine search results by cleaning up the indexed HTML.

Includes a Search API preprocess plugin that can be used to remove certain elements from markup before it is indexed. Useful when indexing "Rendered HTML" entity fields that contain sidebars or other unwanted content.

How to use

1. Install the module
2. Go to your Search API index
3. Enable the HTML Element Filter plugin
4. Configure the plugin - select the fields you want to process and the elements that need to be removed, using CSS selectors (e.g. To remove sidebars with the "my-sidebar" class, add .my-sidebar)
5. If the HTML filter plugin is enabled, make sure the HTML Element Filter plugin runs before it in the Preprocess index order

Activity

Total releases
3
First release
Jun 2026
Latest release
1 week ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.7 Stable Jul 17, 2026
1.0.6 Stable Jun 17, 2026
1.0.5 Stable Jun 15, 2026