Releases: TYPO3-Solr/ext-solr
Release 13.0.0-alpha-1
First alpha release for upcoming TYPO3 13 LTS.
Known issues
- Mount pages cannot be indexed, see #4160
What's Changed
- [TASK] Use request object to retrieve query params instead of _GET by @sfroemkenjw in #4045
- [TASK] Use Attributes for PHPUnit tests by @bmack in #4048
- [TASK] Update PHP-Stan to at least 1.11.* by @sfroemkenjw in #4055
- [TASK] Apply and repair rector refactorings by @sfroemkenjw in #4049
- Migrate requireJS to ES6. Solr BE Modal JS by @sfroemkenjw in #4057
- [TASK] Apache Solr 9.6 compatibility by @dkd-friedrich in #4056
- [TASK] Use new template module API by @sfroemkenjw in #4054
- [FEATURE] Add contentObjectData to searchController by @spoonerWeb in #4059
- [BUGFIX] Add empty array as fallback if null by @spoonerWeb in #4061
- [BUGFIX] Add empty array defaults in SearchFormViewHelper by @hnadler in #4042
- [TASK] Integrate content of Module layout into WithPageTree by @sfroemkenjw in #4066
- [TASK] Repair statistics chart because of CSP in Solr Info module by @sfroemkenjw in #4068
- [FEATURE:BP:12] Be able to disable tracking of last searches by @dkd-kaehm in #4064
- [TASK] Add access plugin tests by @dkd-friedrich in #4069
- Update authors by @sfroemkenjw in #4071
- [TASK] Remove content stream usage by @dkd-friedrich in #4073
- [BUGFIX] Fix synonym and stop word upload by @dkd-friedrich in #4074
- [TASK] Call getLabelFromItemListMerged with the current row data by @3l73 in #4081
- [BUGFIX] numeric facet range slider sends lot of requests to server by @hvomlehn-sds in #4084
- [BUGFIX] Typecast $userGroup to integer by @derhansen in #4079
- Remove getIsSiteManagedSite as all site are managed now by @sfroemkenjw in #4070
- BUG [4026] treat non-overlayed mount points as valid by @derMatze82 in #4029
- New Crowdin updates by @dkd-kaehm in #4094
- [BUGFIX] Fix range string calculation in DateRange facet by @derhansen in #4090
- [FIX:12] scheduler task "Optimize index of a site" is not functional by @dkd-kaehm in #4104
- [TASK] Apache Solr 9.6.1 compatibility by @dkd-kaehm in #4106
- [FIX] tests for TYPO3 13 @ 2024.07.02 by @dkd-kaehm in #4098
- [FIX] deprecations for Fluid viewHelpers and stack by @dkd-kaehm in #4140
- [FIX] Integration\Extbase\PersistenceEventListenerTest errors by @dkd-kaehm in #4142
- [TASK] TYPO3 13 dev-main 2024.09.13 compatibility:: Tests by @dkd-kaehm in #4153
- [TASK] TYPO3 13 compatibility 2024.09.19 by @dkd-kaehm in #4159
- [FIX] Tests for TYPO3 dev-main @2024.09.23 by @dkd-kaehm in #4163
- [BUGFIX] Failed to resolve module specifier '@apache-solr-for-typo3/solr//FormModal.js' by @dkd-kaehm in #4166
- [BUGFIX]
@typo3/backend/tree/page-tree-element
does not work in BE-Modules by @dkd-kaehm in #4167 - [FIX] access restrictions stack for TYPO3 13 by @dkd-kaehm in #4172
- [TASK] Adapt simulated environment for TYPO3 13 by @dkd-friedrich in #4164
- Update TxSolrSearch.rst by @seirerman in #4162
- [TASK] Update dependencies for 13.0.x by @dkd-kaehm in #4177
New Contributors
- @hvomlehn-sds made their first contribution in #4084
- @derMatze82 made their first contribution in #4029
Full Changelog: 12.0.3...13.0.0-alpha-1
Release 12.0.5
What's Changed
- [TASK] Re-added template variables by @thomashohn in #4118
- [BUGFIX] Fix index queue clearance by @sal-lochbaum, @dkd-friedrich in #4120
- [TASK] Update to solarium/solarium 6.3.5 by @dkd-friedrich in #4120
Full Changelog: 12.0.4...12.0.5
Release 12.0.4
What's Changed
- [TASK] Use request object to retrieve query params instead of _GET by @sfroemkenjw in #4045
- [TASK] Use Attributes for PHPUnit tests by @bmack in #4048
- [TASK] Update PHP-Stan to at least 1.11.* by @sfroemkenjw in #4055
- [TASK] Apply and repair rector refactorings by @sfroemkenjw in #4049
- [TASK] Migrate requireJS to ES6. Solr BE Modal JS by @sfroemkenjw in #4057
- [TASK] Apache Solr 9.6 compatibility by @dkd-friedrich in #4056
- [TASK] Use new template module API by @sfroemkenjw in #4054
- [FEATURE] Add contentObjectData to searchController by @spoonerWeb in #4059
- [BUGFIX] Add empty array as fallback if null by @spoonerWeb in #4061
- [BUGFIX] Add empty array defaults in SearchFormViewHelper by @hnadler in #4042
- [TASK] Integrate content of Module layout into WithPageTree by @sfroemkenjw in #4066
- [TASK] Repair statistics chart because of CSP in Solr Info module by @sfroemkenjw in #4068
- [FEATURE:BP:12] Be able to disable tracking of last searches by @dkd-kaehm in #4064
- [TASK] Add access plugin tests by @dkd-friedrich in #4069
- [TASK] Update authors by @sfroemkenjw in #4071
- [TASK] Remove content stream usage by @dkd-friedrich in #4073
- [BUGFIX] Fix synonym and stop word upload by @dkd-friedrich in #4074
- [TASK] Call getLabelFromItemListMerged with the current row data by @3l73 in #4081
- [BUGFIX] numeric facet range slider sends lot of requests to server by @hvomlehn-sds in #4084
- [BUGFIX] Typecast $userGroup to integer by @derhansen in #4079
- [TASK] Remove getIsSiteManagedSite as all site are managed now by @sfroemkenjw in #4070
- [BUGFIX] [4026] treat non-overlayed mount points as valid by @derMatze82 in #4029
- [TASK] New Crowdin updates by @dkd-kaehm in #4094
- [BUGFIX] Fix range string calculation in DateRange facet by @derhansen in #4090
- [BUGFIX:12] scheduler task "Optimize index of a site" is not functional by @dkd-kaehm in #4104
- [TASK] Apache Solr 9.6.1 compatibility by @dkd-kaehm in #4106
- [BUGFIX] deprecations in Dockerfile by @dkd-kaehm in #4110
- [BUGFIX] Ensure index document is deleted by @dkd-friedrich in #4113
New Contributors
- @hvomlehn-sds made their first contribution in #4084
- @derMatze82 made their first contribution in #4029
Full Changelog: 12.0.3...12.0.4
How to Get Involved
There are many ways to get involved with Apache Solr for TYPO3:
- Submit bug reports and feature requests on GitHub
- Ask or help or answer questions in our Slack channel
- Provide patches through pull requests or review and comment on existing pull requests
- Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3
Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/
or call:
+49 (0)69 - 2475218 0
Release 12.0.3
What's Changed
- [BUGFIX] PHPStan 1.11+ by @dkd-kaehm in #4030
- [BUGFIX] Allow fe_group modification when indexing subpage of restricted page by @deschilter in #3982
- [TASK:P:main] Full fixed french translation by @megamisan in #3996
- [TASK] Update all GitHub-Actions on main branch by @dkd-kaehm in #4028
- [TASK] Remove deprecations for CI-Build by @dkd-kaehm in #4028
- [BUGFIX] Debug output if response body is read once stream by @Kanti in #4009
- [BUGFIX] Use tx-solr-suggest-focus for autofocus on form-submit by @felixranesberger in #4005
- [FEATURE] Support stdWrap to resolve relation label field by @DanielSiepmann in #4021
- [BUGFIX] Remove superfluous quotation marks in Partials/Result/FacetsActive.html by @julianhofmann in #4021
- [TASK] Remove switchableControllerActions from TypoScript by @derhansen in #4015
- [Internal] Collection of fixes recognized by SDS task by @dkd-kaehm in #3974
- [BUGFIX] Prevent exception in queue module when no site can be determined by @pschriner in #3988
- [FIX] Actions errors 2024.04.05 by @dkd-kaehm in #3994
- [BUGFIX] column
changed
out of range by @ferfrost in #3980 - [TASK] Update testing framework by @dkd-friedrich in #3992
- [BUGFIX] Solves PHP Warning: Undefined array key "label". by @serens in #3998
New Contributors
Full Changelog: 12.0.2...12.0.3
Release 11.5.6
This is a maintenance release for TYPO3 11.5 LTS.
What's Changed
Apache Solr support
11.5.6 has been tested with Apache Solr 11.8.1, 11.8.2 and 11.8.3. All of this versions are supported, but it's recommended to use the latest version.
Caution: Apache Solr 8.11.3 contains a breaking change, see security fix "SOLR-14853: Make enableRemoteStreaming option global; not configSet". EXT:solr relies on stream bodies which aren't enabled by default since 8.11.3. EXT:solr 11.5.6 contains all required settings, but if you're updating and not using our Docker image, you have to set "solr.enableRemoteStreaming=true" and "solr.enableStreamBody=true". TYPO3 reports module will print a warning if you have to reconfigure.
List of all changes:
- [TASK] Remove unused field
cookie
in tx_solr_statistics by @dkd-kaehm in #3904 - [BUGFIX:P:11.5] Broken IndexQueueModule.css asset path in backend by @dkd-kaehm in #3911
- [BUGFIX:BP:11.5] Exception in CLI mode when using suggest TS example by @dkd-kaehm in #3933
- [BUGFIX:BP:11.5] Ensure method return value of root-page-UID is an integer by @dkd-kaehm in #3932
- [TASK:BP:11.5] Provide encryptionKey in unit tests by @dkd-friedrich in #3960
- [DOCS] Make values of faceting.urlParameterStyle more clear by @dkd-friedrich in #3964
- [BUGFIX] Handle if some tags are upper-case and strict-comparison by @dkd-friedrich in #3965
- Update PageBrowserRangeViewHelper.php solves #3942 by @fritzdacat in #3943
- [FEATURE:BP:11.5] Power up for magic filter __pageSection by @dkd-friedrich in #3966
- [TASK] Add content stream check by @dkd-friedrich in #3968
- [TASK:BP:11.5] Support several Apache Solr versions by @dkd-friedrich in #3957
- [TASK] Remove scrutinizer static analyse fixes from sources @dkd-kaehm in #3973
New Contributors
- @fritzdacat made their first contribution in #3943
Full Changelog: 11.5.5...11.5.6
Release 12.0.2
What's Changed
- [BUGFIX] false as field value is not allowed by @dkd-kaehm in #3901
- [FEATURE] send an event for suggest queries by @dmitryd in #3903
- [TASK] Remove unused field
cookie
in tx_solr_statistics by @derhansen in #3893 - [BUGFIX] Unit tests missing mock of EventDispatcher for AfterSuggestQueryHasBeenPreparedEvent by @dkd-kaehm in #3910
- [BUGFIX] Resolve custom partialName in hierarchy facet by @tillhoerner in #3908
- [BUGFIX] Fix #3896: adjust paths in jquery-ui.custom.css by @dmitryd in #3906
- [BUGFIX] Broken IndexQueueModule.css asset path in backend by @DanielSiepmann in #3898
- [FEATURE] Improve BeforeSearchResultIsShownEvent by @georgringer in #3915
- [BUGFIX]
AfterFacetIsParsedEvent
was never dispatched by @dkd-kaehm in #3921 - [BUGFIX] update acces to backend user modules by @mhirdes in #3924
- [DOC] Add infos about adding own field processors by @kitzberger in #3930
- [BUGFIX] Ensure method return value of root-page-UID is an integer by @dkd-kaehm in #3929
- [BUGFIX] Fix #3916: exception in CLI mode when using suggest TS example by @dmitryd in #3917
- [BUGFIX] Prevent exception in AccessComponent by @dkd-friedrich in #3945
- Describe issues with Colima as Docker provider by @sorenmalling in #3950
- [TASK] Provide encryptionKey in unit tests by @dkd-friedrich in #3959
- [DOCS] Make values of faceting.urlParameterStyle more clear by @linawolf in #3951
- [BUGFIX] Handle if some tags are upper-case and strict-comparison by @thomashohn in #3941
- [FEATURE] Power up for magic filter __pageSections by @kitzberger in #3937
- [TASK] Add content stream check by @dkd-friedrich in #3967
- [TASK] Support several Apache Solr versions by @dkd-friedrich in #3956
New Contributors
Full Changelog: 12.0.1...12.0.2
How to Get Involved
There are many ways to get involved with Apache Solr for TYPO3:
- Submit bug reports and feature requests on GitHub
- Ask or help or answer questions in our Slack channel
- Provide patches through pull requests or review and comment on existing pull requests
- Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3
Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/
or call:
+49 (0)69 - 2475218 0
Resolves: #3961
Release 11.5.5
This is a maintenance release for TYPO3 11.5 LTS.
Note: This release requires the database schema update, due of database schema change from pull-request #3880
What's Changed
- [DOC] Fix changelogs and add hints about outdated state on branches 99549d94e on @2023-11-08 (thanks to Rafael Kähm)
- !!![BUGFIX] Exception with tx_solr_statistics after latest TYPO3 security update bc6a4d9d3 on @2023-11-15 (thanks to Rafael Kähm)
- [BUGFIX] check if all sorting parts are present before access d54a476c8 on @2023-11-14 (thanks to Johannes)
- [BUGFIX] Indexer does not work for extbase-records with sys_language_uid=-1 ce3a3ea61 on @2023-11-15 (thanks to Rafael Kähm)
- [BUGFIX] Infinite loop in SolrRoutingMiddleware #3873 7c9dae186 on @2023-11-14 (thanks to Jaro von Flocken)
New Contributors
- @superyaro made their first contribution in #3878
Full Changelog: 11.5.4...11.5.5
How to Get Involved
There are many ways to get involved with Apache Solr for TYPO3:
- Submit bug reports and feature requests on GitHub
- Ask or help or answer questions in our Slack channel
- Provide patches through pull requests or review and comment on existing pull requests
- Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3
Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/
or call:
+49 (0)69 - 2475218 0
Resolves: #3854
Release 12.0.1
This is a maintenance release for TYPO3 12.4 LTS.
Note: This release requires the database schema update, due of database schema change from pull-request #3881
What's Changed
- [BUGFIX] Remove superfluous char in Dockerfile by @christophlehmann in #3836
- [TASK] Add response object to return array of SolrWriteService::extractByQuery() by @dkd-kaehm in #3841
- [BUGFIX][DOC] avoid creation of symlink inside the prod docs by @dkd-kaehm in #3842
- [TASK] Log solr response in case of Page indexing issue by @DanielSiepmann in #3847
- [TASK] Use composers "preferred-install" config instead of reinstall by @dkd-kaehm in #3849
- [BUGFIX] Provide proper Uri Builder Request in VH by @DanielSiepmann in #3852
- [BUGFIX] prevent empty array key if foreignLabelField is null by @clickstorm in #3857
- [FEATURE] Monitor extbase records by @christophlehmann in #3843
- [TASK] Update the version matrix by @dkd-friedrich in #3859
- [DOC] Fix changelogs and add hints about outdated state on branches by @dkd-kaehm in #3863
- [BUGFIX] TikaStatus can't handle all response types of SolrWriteService->extractByQuery() by @dkd-kaehm in #3858
- [TASK] Add missing groups-key to TS Path by @julianhofmann in #3872
- Add
grouping.groups.[groupName].sortBy
by @julianhofmann in #3870 - [TASK] Rename namespace \Trait\ to \Traits\, due of consistency with 11.6.x by @dkd-kaehm in #3867
- !!![BUGFIX] Exception with tx_solr_statistics after latest TYPO3 security update by @dkd-kaehm in #3881
- [BUGFIX] check if all sorting parts are present before access by @schugabe in #3876
- [BUGFIX] Indexer does not work for extbase-records with sys_language_uid=-1 by @dkd-kaehm in #3885
- [BUGFIX] Infinite loop in SolrRoutingMiddleware by @superyaro in #3883
New Contributors
- @clickstorm made their first contribution in #3857
- @schugabe made their first contribution in #3876
Full Changelog: 12.0.0...12.0.1
How to Get Involved
There are many ways to get involved with Apache Solr for TYPO3:
- Submit bug reports and feature requests on GitHub
- Ask or help or answer questions in our Slack channel
- Provide patches through pull requests or review and comment on existing pull requests
- Go to www.typo3-solr.com or call dkd to sponsor the ongoing development of Apache Solr for TYPO3
Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/
or call:
+49 (0)69 - 2475218 0
Resolves: #3854
11.5.4
This is a maintenance release for TYPO3 11.5.
What's Changed
- [TASK] Fix CI 2023.09.11 on release-11.5.x by @dkd-kaehm in #3777
- [BUGFIX:BP:11.5] Fix EXT:solr route enhancer by @dkd-friedrich in #3743
- [BUG] Fix detection of "draft records" in workspaces by @baschny in #3642
- [BUGFIX] Do not index translations on default language in languages free mode by @dkd-kaehm in #3786
- [BUGFIX:BP:11.5] Retry Uri Building after exception by @dkd-friedrich in #3789
- [BUGFIX] Delete index documents without available site by @dkd-kaehm in #3778
- [TASK:BP:11.5] Ensure recursive page update on page movement by @dkd-friedrich in #3771
- [FEATURE:BP:11.5] Add index queue indices by @dkd-friedrich in #3791
- [TASK:BP:11.5] Migrate top.fsMod by @dkd-friedrich in #3795
- [BUGFIX:BP:11.5] Return value getPageItemChangedTime() must be of the type int by @dkd-kaehm in #3813
- [TASK:BP:11.5] Remove duplicate withHeader() by @dkd-kaehm in #3817
- [BUGFIX:BP:11.5] Do not list cores twice in Index Inspector by @dkd-kaehm in #3818
- [BUGFIX] Fixes multiple sortings by @BastiLu in #3762
- [BUGFIX:BP:11.5] Fix missing frontend.typoscript request attribute while indexing by @dkd-kaehm in #3822
- [BUGFIX] Prevent indexing error on missing 'foreignLabelField' by @kitzberger in #3740
- [BUGFIX:BP:11.5] Force score to float by @dkd-kaehm in #3824
- [BUGFIX:BP:11.5] Fix possible notice by @dkd-kaehm in #3825
- [DOC:BP:11.5] Add FAQ how to generate URLs to restricted pages by @dkd-kaehm in #3826
- [BUGFIX:BP:11.5] Handle float values in options facet parser by @dkd-kaehm in #3827
- [BUGFIX:BP:11.5] handle localizations with un-available tsfe more gracefully by @dkd-kaehm in #3832
- [TASK] Update the version matrix by @dkd-friedrich in #3860
Full Changelog: 11.5.3...11.5.4
Contributors
Like always this release would not have been possible without the help from our
awesome community. Here are the contributors to this release.
(patches, comments, bug reports, reviews, ... in alphabetical order)
- Ernesto Baschny @baschny
- @BastiLu
- Markus Friedrich @dkd-friedrich
- Philipp Kitzberger @kitzberger
- Rafael Kähm @dkd-kaehm
Also a big thank you to our partners who have concluded our Apache Solr EB for TYPO3 11 LTS (Maintenance) contribution:
- .hausformat GmbH
- AUSY
- Ampack AG
- Atol CD
- Bundesanstalt Statistik Österreich
- CARL von CHIARI GmbH
- Columbus Interactive GmbH
- FTI Touristik GmbH
- Fachhochschule Erfurt
- Fourdegrees GbR
- HSPV NRW
- Hochschule Furtwangen
- INOTEC Sicherheitstechnik GmbH
- Landeskriminalamt Thüringen
- Leuchtfeuer Digital Marketing GmbH
- Lingner Consulting New Media GmbH
- NEW.EGO GmbH
- Plan Software GmbH
- ProPotsdam GmbH
- RR Anwendungsentwicklung
- Stadtverwaltung Villingen-Schwenningen
- Talleux & Zöllner GbR
- Verband der Vereine Creditreform e.V.
- VisionConnect.de
- WACON Internet GmbH
- Webtech AG
- abteilung_digital GmbH
- brandung GmbH
- chiliSCHARF GmbH
- clickstorm GmbH
- hiroki digital GmbH
- medien.de mde GmbH
- pietzpluswild GmbH
- tirol.gv.at
- unternehmen online GmbH Co. KG (UO)
- visuellverstehen GmbH
- webconsulting business services gmbh
- wow! solution
How to Get Involved
There are many ways to get involved with Apache Solr for TYPO3:
- Submit bug reports and feature requests on GitHub
- Ask or help or answer questions in our Slack channel
- Provide patches through pull requests or review and comment on
existing pull requests - Go to www.typo3-solr.com or call dkd to sponsor the ongoing
development of Apache Solr for TYPO3
Support us by becoming an EB partner:
https://shop.dkd.de/Produkte/Apache-Solr-fuer-TYPO3/
or call:
+49 (0)69 - 2475218 0
Release 12.0.0
New in this release:
Huge improvements
TYPO3 12 LTS compatibility (12.4.3+)
With EXT:solr 12.0 we provide the support of TYPO3 12 LTS.
Please note that we require at least TYPO3 12.4.3, as this version contains some change concerning to Fluid.
!!! Upgrade to Apache Solr 9.3.0
This release requires Apache Solr v 9.3.0+.
Note: On third party installations enabling stream feature via the ENV vars or system properties is required.
Following variables must be set in solr.in.sh file or in Solr system props:
SOLR_ENABLE_REMOTE_STREAMING=true
SOLR_ENABLE_STREAM_BODY=true
For more information see:
- https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#security
- https://issues.apache.org/jira/browse/SOLR-14853
Reworked Search Query Component System
The Search Component system, which is used to enrich the search query (e.g.
by faceting, boosting, debug analysis), has been completely reworked by
utilizing the PSR-14 event system.
At the same time the Search Query Modifiers have been merged into the
Query Component systems.
All built-in components are now reworked and utilize the
ApacheSolrForTypo3\Solr\Event\Search\AfterSearchQueryHasBeenPreparedEvent
PSR-14 event.
The interface ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware
has been removed.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['modifySearchQuery']
and the interfaces ApacheSolrForTypo3\Solr\Query\Modifier
as well
as ApacheSolrForTypo3\Solr\Search\QueryAware
and ApacheSolrForTypo3\Solr\Search\SearchAware
have been removed. The modifiers have been merged into Components.
Registration does not happen in ext_localconf.php
anymore via ApacheSolrForTypo3\Solr\Search\SearchComponentManager
which has been removed, but now happens in :file:Configuration/Services.yaml
as documented in TYPO3 Core's PSR-14 Registration API.
Related hooks around this system have been moved to PSR-14 events as well:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['beforeSearch']
has
been replaced byApacheSolrForTypo3\Solr\Event\Search\AfterInitialSearchResultSetHasBeenCreatedEvent
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['afterSearch']
has been
been replaced byApacheSolrForTypo3\Solr\Event\Search\AfterSearchHasBeenExecutedEvent
SignalSlots replaced by PSR-14 events
The previously available Extbase Signals have been removed from EXT:solr in favor of PSR-14 Events.
- The signal
ApacheSolrForTypo3\Solr\Domain\Index\IndexService::beforeIndexItems
has been replaced byApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemsAreIndexedEvent
- The signal
ApacheSolrForTypo3\Solr\Domain\Index\IndexService::beforeIndexItem
has been replaced byApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemIsIndexedEvent
- The signal
ApacheSolrForTypo3\Solr\Domain\Index\IndexService::afterIndexItem
has been replaced byApacheSolrForTypo3\Solr\Event\Indexing\AfterItemHasBeenIndexedEvent
- The signal
ApacheSolrForTypo3\Solr\Domain\Index\IndexService::afterIndexItems
has been replaced byApacheSolrForTypo3\Solr\Event\Indexing\AfterItemsHaveBeenIndexedEvent
- The signal
ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Options\OptionFacetParser::optionsParsed
has been replaced byApacheSolrForTypo3\Solr\Event\Parser\AfterFacetIsParsedEvent
- The signal
ApacheSolrForTypo3\Solr\Controller\SearchController::resultsAction
has been replaced byApacheSolrForTypo3\Solr\Event\Search\BeforeSearchResultIsShownEvent
- The signal
ApacheSolrForTypo3\Solr\Controller\SearchController::formAction
has been replaced byApacheSolrForTypo3\Solr\Event\Search\BeforeSearchFormIsShownEvent
- The signal
ApacheSolrForTypo3\Solr\Controller\SearchController::frequentlySearchedAction
has been replaced byApacheSolrForTypo3\Solr\Event\Search\AfterFrequentlySearchHasBeenExecutedEvent
- The signal
ApacheSolrForTypo3\Solr\Controller\SearchController::beforeSearch
has been removed (see the new PSR-14 events below)
Hooks replaced by PSR-14 events
The previously available hooks and their respective interfaces have been removed from EXT:solr.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageAddDocuments']
and its
interface ApacheSolrForTypo3\Solr\AdditionalPageIndexer
are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\BeforePageDocumentIsProcessedForIndexingEvent
.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['modifyVariantId']
and its
interface ApacheSolrForTypo3\Solr\Variants\IdModifier
are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Variants\AfterVariantIdWasBuiltEvent
.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueueIndexer']['preAddModifyDocuments']
and its
interface ApacheSolrForTypo3\Solr\PageIndexerDocumentsModifier
are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\BeforeDocumentIsProcessedForIndexingEvent
.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueueIndexer']['indexItemAddDocuments']
and its
interface ApacheSolrForTypo3\Solr\AdditionalIndexQueueItemIndexer
are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\BeforeDocumentsAreIndexedEvent
.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageSubstitutePageDocument']
and its
interface ApacheSolrForTypo3\Solr\SubstitutePageIndexer
are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\AfterPageDocumentIsCreatedForIndexingEvent
.
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessIndexQueueInitialization']
and its
interface ApacheSolrForTypo3\Solr\IndexQueue\InitializationPostProcessor
are now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\IndexQueue\AfterIndexQueueHasBeenInitializedEvent
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessFetchRecordsForIndexQueueItem']
is now superseded
by the PSR-14 event ApacheSolrForTypo3\Solr\Event\IndexQueue\AfterRecordsForIndexQueueItemsHaveBeenRetrievedEvent
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueuePageIndexer']['dataUrlModifier']
and the according interface ApacheSolrForTypo3\Solr\IndexQueue\PageIndexerDataUrlModifier
is now superseded by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\AfterFrontendPageUriForIndexingHasBeenGeneratedEvent
The hook $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessIndexQueueUpdateItem']
is now superseded by the PSR-14 event ApacheSolrForTypo3\Solr\Event\Indexing\AfterIndexQueueItemHasBeenMarkedForReindexingEvent
PSR-14 events renamed
Previous PSR-14 events have been renamed to be consistent with other PSR-14 Events in EXT:solr.
ApacheSolrForTypo3\Solr\Event\Routing\PostProcessUriEvent
is now namedApacheSolrForTypo3\Solr\Event\Routing\AfterUriIsProcessedEvent
ApacheSolrForTypo3\Solr\Event\Routing\BeforeProcessCachedVariablesEvent
is now namedApacheSolrForTypo3\Solr\Event\Routing\BeforeCachedVariablesAreProcessedEvent
ApacheSolrForTypo3\Solr\Event\Routing\BeforeReplaceVariableInCachedUrlEvent
is now namedApacheSolrForTypo3\Solr\Event\Routing\BeforeVariableInCachedUrlAreReplacedEvent
!!! Shortcut pages not indexed anymore
Currently there is no important reason to index the shortcut pages,
because the target pages are indexed as expected and the shortcuts are 307-redirected to their targets.
So contents can be found in search results as expected.
!!! Deprecated Node class removed
Former EXT:solr versions used an own node implementation for Solr endpoints, this implementation (\ApacheSolrForTypo3\Solr\System\Solr\Node) is now removed in favor of the Endpoint implementation of Solarium.
If you've used this class or the SolrConnection directly, you have to adapt your PHP code:
- use \Solarium\Core\Client\Endpoint instead of \ApacheSolrForTypo3\Solr\System\Solr\Node
- call \ApacheSolrForTypo3\Solr\System\Solr\SolrConnection->getEndpoint() instead of \ApacheSolrForTypo3\Solr\System\Solr\SolrConnection\getNode(),
method will return Solarium Endpoint - Node could be converted to string to get the core base URI, getCoreBaseUri() can be used instead.
Note: With dropping the Node implementation we also dropped the backwards compatibility that allows to define the Solr path segment "/solr" within "solr_path_read" or "solr_path_write". Be sure your configuration doesn't contain this path segment!
!!! Changed visibility of ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\PageIndexer methods
For testing purposes some methods of the PageIndexer were defined as public, these methods are now protected. The tests are adapted accordingly, so that there is no need to declare the methods as public.
If you have used one of this methods, you have to adapt your code. Affected methods:
- setupConfiguration
- index
- indexPage
!!! Solr route enhancer disabled by default
EXT:solr offers the possibility to create speaking URLs for Solr facets, but as this feature requires additional configuration and costly processing this feature is now disabled by default.
If you've already used the route enhancer you must set option "enableRouteEnhancer":
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['solr']['enableRouteEnhancer']
Frontend Helper Changes
The FrontendHelper logic revolving around PageIndexer has been reduced to
a minimum by only having two methods available:
ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper::activate()
- used to register hooks and PSR-14 event listeners- `ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper::deactivate(PageIndexerResp...