Drupal is a registered trademark of Dries Buytaert

The Search API module provides a processor that allows indexing the rendered content of a page. This allows full text indexing, even for pages built with Layout Builder, where content may not live in a field on the entity but rather in a block added to the layout. This functionality is very cool and powerful, but there's a potential drawback that this module here attempts to resolve.

Imagine you have an article page built with Layout Builder that features a slider of related articles. Imagine these related articles are rendered as cards featuring a title, image and short description. When that article is indexed and a field on the index processes the rendered content, those titles and descriptions on the related articles slider get indexed too. For example, if your article is about burgers, and it features a related article that has "Pizza" in it's title or description, searching for "Pizza" will surface your article about burgers, even if "Pizza" appears nowhere in your article, except in the slider of related articles.

Wouldn't it be nice to somehow tell Search API: "When you index the rendered content for this page, ignore the related articles slider."? This module lets you do that.

Features

  • You can choose which search indices this module should work on.
  • You can choose which Layout Builder blocks should be excluded.

Post-Installation

Go to the config page, check the indices for which you want to exclude blocks, and the blocks that should be excluded. Check the "Enable filter" checkbox and save the configuration.
Content needs to be re-indexed afterwards. It is recommended to test the configuration on a single node, ideally on a non-production environment, before you proceed to queue all your content for re-indexing.

Additional Requirements

This module has a dependency on the Search API and Core Layout Builder modules.

Activity

Total releases
1
First release
Jan 2026
Latest release
1 month ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Jan 14, 2026