Project

General

Profile

Actions

Feature #105007

closed

Indexed Search - removed searchSkipExtendToSubpagesChecking can't be migrated

Added by B. Kausch about 1 month ago. Updated about 12 hours ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Start date:
2024-09-17
Due date:
% Done:

100%

Estimated time:
PHP Version:
8.3
Tags:
Complexity:
Sprint Focus:

Description

The option searchSkipExtendToSubpagesChecking was removed in #97530. This decision was a nightmare for our very big typo3 sites. With 5000+ pages this removed option has serious performance penalties. Every search request will now create a page tree with many database queries. One request can take up to 10 seconds. The migration path described here is just: "If you still encounter using indexed search related to extendToSubpages it is recommended to extend Indexed Search queries with custom hooks to manipulate the search query."

But the hook is not equipped to replace the old functionality. In v12 it was not given the query builder to give fine granular control and in v13 the hook was removed completly in #102937. What do we now? We need a hook to manipulate the search query for big typo3 sites.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #97530: Remove Indexed Search option searchSkipExtendToSubpagesCheckingClosedBenni Mack2022-05-02

Actions
Related to TYPO3 Core - Task #102937: Remove pi1_hooks in Indexed SearchClosed2024-01-26

Actions
Actions #1

Updated by Georg Ringer about 1 month ago

  • Related to Task #97530: Remove Indexed Search option searchSkipExtendToSubpagesChecking added
Actions #2

Updated by Georg Ringer about 1 month ago

  • Related to Task #102937: Remove pi1_hooks in Indexed Search added
Actions #3

Updated by Georg Ringer about 1 month ago

hey!
thanks for your issue! can you suggest places for events which would make sense for you?

Actions #4

Updated by Georg Ringer about 1 month ago

  • Status changed from New to Accepted
Actions #5

Updated by B. Kausch about 1 month ago ยท Edited

Well, my suggestion would be these spots:

https://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/main/entry/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php#L548
https://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/main/entry/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php#L1008

It is before the query is executed and if the hook would expose the QueryBuilder instance every integrator would have the most freedom to change the search behavior. You combine that with an rootPidList=-1 to disable the very extensive building of the page tree this hook could meet any needs.

Actions #7

Updated by Gerrit Code Review 5 days ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #8

Updated by Gerrit Code Review 5 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #9

Updated by Gerrit Code Review 5 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #10

Updated by Gerrit Code Review 5 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #11

Updated by Gerrit Code Review 5 days ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #12

Updated by Gerrit Code Review 5 days ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #13

Updated by Gerrit Code Review 5 days ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #14

Updated by Gerrit Code Review 5 days ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #15

Updated by Benni Mack 5 days ago

  • Target version changed from 13 LTS to Candidate for Major Version
Actions #16

Updated by Gerrit Code Review 4 days ago

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #17

Updated by Gerrit Code Review 3 days ago

Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #18

Updated by Gerrit Code Review 3 days ago

Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #19

Updated by Gerrit Code Review 2 days ago

Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #20

Updated by Gerrit Code Review 1 day ago

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #21

Updated by Gerrit Code Review 1 day ago

Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86593

Actions #22

Updated by Gerrit Code Review 1 day ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86616

Actions #23

Updated by Oliver Bartsch 1 day ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #24

Updated by Gerrit Code Review about 12 hours ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86616

Actions #25

Updated by Oliver Bartsch about 12 hours ago

  • Status changed from Under Review to Resolved
Actions

Also available in: Atom PDF