94015[FEATURE] Rank live search results by relevance
Commit message
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 6
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/15/94015/6 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/15/94015/6 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V 0 Needs a vote
- core-ci +1 CI
Merge conflicts 52
- main 97304[WIP][BUGFIX] Render the record form from unsaved values
- main 95431[TASK] Make most of the backend TypeScript null-safe
- main 95436[WIP][TASK] Initialise class properties across the JavaScript stack
- main 95435[WIP][TASK] Enable strictNullChecks for the TypeScript build
- main 97458[TASK] Update htmlnano to v3 and litnano to v1.1
- main 94964[!!!][TASK] Remove the extension list import from EM
- main 96869[TASK] Make file references sortable by keyboard
- main 97236[FEATURE] Compare every preview with the live page
- main 96718[WIP] Add device preview with zoom and pan to the preview module
- main 96032[WIP][TASK] Render CKEditor5 in shadow dom
- main 93628[WIP][TASK] Make GD the baseline image processor
- main 96865[FEATURE] Add search to backend dropdown menus and selects
- main 97165[FEATURE] Offer file and folder search options
- main 91093[BUGFIX] Add accessible relation between dropdown and its toggle
- main 96668[BUGFIX] Resolve live search page access in SQL
- main 87873[WIP][BUGFIX] Make Dropdown Toggle Buttons more accessible
- main 94668[WIP][TASK] Introduce shared result view for backend wizard finishers
- main 92257[WIP] Toolbar
- main 93597[WIP] Dispatch fields
- main 93940[WIP] Custom Element Browser
- main 95145[TASK] Migrate LanguageService->sL() labels to new domain syntax
- main 80536[TASK] Add target for live search links
- main 95192[WIP][TASK] Rework database analyzer stack
- main 95308[TASK] Deprecate QueryBuilder::castFieldToTextType()
- main 94653[WIP] Record Identity
- main 83317[BUGFIX] Make full area of CEs preview-text clickable
- main 92754[BUGFIX] Enhance accessibility of copyright text on login screen
- main 90564[BUGFIX] Keep livesearches active items outline visible
- main 87811[BUGFIX] Make expand functionality recognizable in LiveSearch
- main 92725[BUGFIX] Show module sub-module line in firefox on close-open
- main 91409[WIP FEATURE] Introduce a Digital Asset Provider API in TYPO3 Core
- main 91683[WIP][TASK] Move live search related labels
- main 91189[WIP] Module Menu
- main 69092[WIP][TASK] Implement install tool layout boilerplate as web components
- main 93528[WIP][TASK] Add new ce wrapper to contain element behavior
- main 92232[TASK] Refine border radius mechanics for UI
- main 91769[WIP] OKLCH
- main 91710[WIP] dynamic colors: oklch
- main 91029[FEATURE] Introduce "High contrast" backend theme
- main 83623[WIP][FEATURE] Introduce System Settings API & Editor
- main 91142[TASK] Simplify page modules column header positioning
- main 90295[BUGFIX] Fix char counter partially hidden in IRRE elements
- main 83208[WIP][FEATURE] Introduce Creation Wizards
- main 82150[TASK] Convert fieldset legend to label for toggle checkboxes
- main 88260[TASK] Use native browser resizing for viewpage module
- main 78198[WIP][TASK] Introduce resource move in filelist
- main 84809[WIP][BUGFIX|TASK|FEATURE] Make live search result list accessible by screenreader
- main 78250[TASK] Add policy inspection & management to CSP backend module
- main 84782[TASK] Make live search pagination accessible by keyboard
- main 85496[FEATURE] Add mock dropzone to file-upload
- main 68199[WIP][TASK] Add <typo3-backend-module> element
- main 68730[WIP][TASK] Add <typo3-backend-button> component
Issues 1
Files 33
- Build/Sources/Sass/component/_livesearch.scss+32 −41
- Build/Sources/TypeScript/backend/live-search/element/result/item/item-container.ts+8 −43
- Build/Sources/TypeScript/backend/live-search/element/result/item/item.ts+2 −1
- Build/Sources/TypeScript/backend/live-search/element/result/result-container.ts+120 −10
- Build/Sources/TypeScript/backend/live-search/element/search-option-item.tsdeleted+0 −70
- Build/Sources/TypeScript/backend/live-search/live-search.ts+17 −52
- typo3/sysext/backend/Classes/Controller/LiveSearchController.php+4 −11
- typo3/sysext/backend/Classes/Search/LiveSearch/SearchDemand/DemandPropertyName.php+1 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/SearchDemand/SearchDemand.php+9 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/BackendModuleProvider.php+100 −39
- typo3/sysext/backend/Classes/Search/LiveSearch/Candidate.php1new+44 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/DatabaseRecordProvider.php+220 −109
- typo3/sysext/backend/Classes/Search/LiveSearch/PageRecordProvider.php+183 −78
- typo3/sysext/backend/Classes/Search/LiveSearch/RelevanceScoreExpressionBuilder.phpnew+111 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/RelevanceScorer.php1new+145 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/RelevanceSearchProviderInterface.phpnew+58 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/ResultItem.php1+60 −0
- typo3/sysext/backend/Classes/Search/LiveSearch/SearchRepository.php+195 −69
- typo3/sysext/backend/Classes/Search/LiveSearch/SearchResult.phpnew+36 −0
- typo3/sysext/backend/Resources/Private/Templates/LiveSearch/Form.fluid.html+1 −23
Show 13 more files
- typo3/sysext/backend/Resources/Public/Css/backend.css+8 −8
- typo3/sysext/backend/Resources/Public/JavaScript/live-search/element/result/item/item-container.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/live-search/element/result/result-container.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/live-search/element/search-option-item.jsdeleted+0 −13
- typo3/sysext/backend/Resources/Public/JavaScript/live-search/live-search.js+1 −1
- typo3/sysext/backend/Tests/Functional/Controller/LiveSearchControllerTest.php+0 −34
- typo3/sysext/backend/Tests/Functional/Search/LiveSearch/Fixtures/pages_relevance.csvnew+8 −0
- typo3/sysext/backend/Tests/Functional/Search/LiveSearch/Fixtures/tt_content_relevance.csvnew+4 −0
- typo3/sysext/backend/Tests/Functional/Search/LiveSearch/SearchRepositoryTest.phpnew+247 −0
- typo3/sysext/backend/Tests/Unit/Search/LiveSearch/RelevanceScorerTest.phpnew+81 −0
- typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchRepositoryTest.php+3 −2
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-110661-RankLiveSearchResultsByRelevance.rstnew+89 −0
- typo3/sysext/core/Resources/Private/Language/locallang_misc.xlf+5 −2
Review log 813
-
Benjamin Kott uploaded patch set 1 05/07/26, 08:49
-
Benjamin Kott wrote 07/30/26, 07:29
Unset private -
Benni Mack uploaded patch set 2 07/30/26, 14:05
-
core-ci voted on patch set 2 V -1 07/30/26, 14:19 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/105698
-
Benni Mack commented on patch set 2 08/10/26, 12:53
Candidate.php:41Unresolvedwe should switch to float if we want to go with BM25 for alternative implementations.RelevanceScorer.php:39Unresolvedif we want to get closer to BM25, we should return float in generalResultItem.php:156Unresolvedwe could do a float here as well -
Benjamin Kott uploaded patch set 3
V -109/09/26, 12:32 -
core-ci voted on patch set 3 V +1 09/09/26, 12:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108177
-
Benjamin Kott updated the commit message in patch set 4
V +109/09/26, 13:41 -
core-ci voted on patch set 4 V +1 09/09/26, 13:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108186
-
Benni Mack uploaded patch set 5
V +111/11/26, 13:00 -
core-ci voted on patch set 5 V +1 11/11/26, 13:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114075
-
Benni Mack uploaded patch set 6
V +111/19/26, 12:38 -
core-ci voted on patch set 6 V +1 11/19/26, 12:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115009