86593[BUGFIX] Reestablish manipulation of EXT:indexed_search query
Commit message
Review
-
Code review CR +2 Done
- Oli Bartsch +2
- Garvin Hicking +1
- Benni Mack +1
-
Verified V +2 Done
- Oli Bartsch +2
- Garvin Hicking +1
- Benni Mack +1
- core-ci +1 CI
Issues 3
Files 4
- typo3/sysext/core/Documentation/Changelog/13.4.x/Important-105007-ManipulationOfFinalSearchQueryInEXTindexed_search.rst4new+63 −0
- typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php+33 −30
- typo3/sysext/indexed_search/Classes/Event/BeforeFinalSearchQueryIsExecutedEvent.phpnew+32 −0
- typo3/sysext/indexed_search/Tests/Functional/IndexSearchRepositoryTest.php+32 −0
Review log 2539
Show 714 earlier messages
-
Oli Bartsch uploaded patch set 1 10/15/24, 07:20
-
Oli Bartsch uploaded patch set 2 10/15/24, 07:20
-
Oli Bartsch uploaded patch set 3 10/15/24, 07:22
-
core-ci voted on patch set 3 V +1 10/15/24, 07:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67798
-
core-ci voted on patch set 2 V +1 10/15/24, 07:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67797
-
core-ci voted on patch set 1 V -1 10/15/24, 07:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67796
-
Oli Bartsch uploaded patch set 4
V +110/15/24, 07:35 -
core-ci voted on patch set 4 V +1 10/15/24, 07:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67801
-
Oli Bartsch uploaded patch set 5
V +110/15/24, 08:49 -
Oli Bartsch uploaded patch set 6 10/15/24, 08:51
-
Oli Bartsch uploaded patch set 7 10/15/24, 09:00
-
core-ci voted on patch set 5 V -1 10/15/24, 09:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67814
-
core-ci voted on patch set 6 V -1 10/15/24, 09:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67815
-
core-ci voted on patch set 7 V -1 10/15/24, 09:16 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67820
-
Oli Bartsch uploaded patch set 8
V -110/15/24, 09:26 -
core-ci voted on patch set 8 V +1 10/15/24, 09:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67824
-
Anja Leichsenring commented on patch set 9
V +110/16/24, 06:53Published edit on patch set 8. -
Anja Leichsenring voted on patch set 9 CR +1 V +1 10/16/24, 06:56
-
core-ci voted on patch set 9 V -1 10/16/24, 07:02 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67869
-
Garvin Hicking updated the commit message in patch set 10
CR +1V +110/16/24, 18:26 -
Garvin Hicking commented on patch set 11 10/16/24, 18:27
Published edit on patch set 10. -
core-ci voted on patch set 11 V +1 10/16/24, 18:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67893
-
core-ci voted on patch set 10 V -1 10/16/24, 18:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67892
-
Garvin Hicking commented on patch set 11 CR +1 V +1 10/16/24, 18:49
Could you adjust the commit message/ -
Christian Kuhn commented on patch set 11 10/17/24, 10:55
Important-105007-ManipulationOfFinalSearchQueryInEXTindexed_search.rst:28I think we need at least a "disclaimer" here, probably in the code/event as well: The main query needs to stay under core control, core needs to be able to change it. When this event is used, and core changes the query to for instance improve performance or when db schema is changed, such a change should not be considered breaking change due to this event. In turn, this event is like: "If you really need it, it may still break with any core release if you are unlucky" or something like that, since core must retain freedom to change things in this area if needed, otherwise the query is doomed to stay in its current form forever, which would be uncool from core point of view. -
Christian Kuhn commented on patch set 11 10/17/24, 10:58
Important-105007-ManipulationOfFinalSearchQueryInEXTindexed_search.rst:28Replywith this being said, i'm not *that* happy with a low level event that is able to change details of queries since they are always a headache when core wants to change something. we could postulate the scenario away, but it would be worth looking at the code to see if there is maybe some different solution (didn't look & think about something, though). -
Oli Bartsch commented on patch set 11 10/17/24, 14:48
Important-105007-ManipulationOfFinalSearchQueryInEXTindexed_search.rst:28ReplyUnsure. Actually, we removed ways to optimise the query for use cases by saying "If you still encounter issues, it is recommended to extend Indexed Search queries with custom hooks to manipulate the search query." Then we removed those hooks. IMO adding back ways to optimise the search for custom use cases is the best we can do for developers. We can never get an "optimised" query which will suite every use case out there. Therefore, I suggest to add this event together with - as you suggested - a big disclaimer. -
Oli Bartsch uploaded patch set 12
CR +1V +110/18/24, 10:05 -
Oli Bartsch commented on patch set 12 10/18/24, 10:05
Important-105007-ManipulationOfFinalSearchQueryInEXTindexed_search.rst:28ReplyDone -
core-ci voted on patch set 12 V +1 10/18/24, 10:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67948
-
Garvin Hicking commented on patch set 13
V +110/18/24, 12:21Published edit on patch set 12. -
core-ci voted on patch set 13 V +1 10/18/24, 12:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67955
-
Garvin Hicking commented on patch set 13 CR +1 V +1 10/18/24, 13:08
Works for me, I think there's a valid need to manipulate the search query. -
Benni Mack updated the commit message in patch set 14
CR +1V +110/18/24, 13:34 -
Benni Mack voted on patch set 14 CR +1 V +1 10/18/24, 13:34
-
Garvin Hicking voted on patch set 14 CR +1 V +1 10/18/24, 13:35
-
core-ci voted on patch set 14 V +1 10/18/24, 15:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67997
-
Oli Bartsch voted on patch set 14 CR +2 V +2 10/18/24, 17:10
-
Oli Bartsch merged patch set 15 10/18/24, 17:10