You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By removing the searchSkipExtendToSubpagesChecking option in 97530,
there might have been performance implications for installations with a
lot of sites. This could be circumvented by adjusting the search query
manually, using available hooks. Since those hooks have also been
removed with 102937, developers were no longer be able to handle the
query behaviour.
Therefore, the PSR-14 BeforeFinalSearchQueryIsExecutedEvent has been
introduced which allows developers to manipulate the QueryBuilder
instance again, just before the query gets executed.
Additional context information, provided by the new event:
searchWords - The corresponding search words list
freeIndexUid - Pointer to which indexing configuration should be
searched in. -1 means no filtering. 0 means only regular indexed
content.
Important
The provided query (the QueryBuilder instance) is controlled by
TYPO3 and is not considered public API. Therefore, developers using
this event need to keep track of underlying changes by TYPO3. Such
changes might be further performance improvements to the query or
changes to the database schema in general.
Important: #105007 - Manipulation of final search query in EXT:indexed_search
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.4.x/Important-105007-ManipulationOfFinalSearchQueryInEXTindexed_search.html
Important: #105007 - Manipulation of final search query in EXT:indexed_search
See 105007
Description
By removing the
searchSkipExtendToSubpagesChecking
option in 97530,there might have been performance implications for installations with a
lot of sites. This could be circumvented by adjusting the search query
manually, using available hooks. Since those hooks have also been
removed with 102937, developers were no longer be able to handle the
query behaviour.
Therefore, the PSR-14
BeforeFinalSearchQueryIsExecutedEvent
has beenintroduced which allows developers to manipulate the
QueryBuilder
instance again, just before the query gets executed.
Additional context information, provided by the new event:
searchWords
- The corresponding search words listfreeIndexUid
- Pointer to which indexing configuration should besearched in. -1 means no filtering. 0 means only regular indexed
content.
Important
The provided query (the
QueryBuilder
instance) is controlled byTYPO3 and is not considered public API. Therefore, developers using
this event need to keep track of underlying changes by TYPO3. Such
changes might be further performance improvements to the query or
changes to the database schema in general.
Example
PHP-API, ext:indexed_search
The text was updated successfully, but these errors were encountered: