Issue Feature Closed

#109018Introduce PSR-14 event to modify indexed_search result sets

Eric Harrer 02/19/26, 11:06 updated 03/31/26, 08:11

Description

Introduce an extension point in EXT:indexed_search to allow controlled post-processing of complete search result sets before rendering.

The extension point is executed once per search request on the full result payload.

This allows modifications to all per-result-set data that is already prepared for the view, including the result group collection itself (add/remove/reorder groups), pagination objects per group, result rows per group, and per-group metadata such as counters, section/group information, category labels, and other rendering-related values contained in each group.

Listeners also receive context data about the current search input and parsed search words.

Scope:
- Add a dedicated extension point for post-processing search result sets
- Execute it once per search request on the full result payload
- Add documentation and test coverage

No TypoScript setting is introduced in this issue, because the integrator-facing setting approach is tracked separately in https://forge.typo3.org/issues/105084 and the related review thread.

Reviews 1