A TYPO3 extension that integrates the Apache Solr search server with TYPO3 CMS. dkd Internet Service GmbH is developing the extension. Community contributions are welcome. See CONTRIBUTING.md for details.
GNU General Public License v3.0
137
stars
252
forks
source link
[BUG] Add StartTimeRestriction to ConfigurationAwareRecordService #4168
Describe the bug
By fixing this issue (https://github.com/TYPO3-Solr/ext-solr/issues/4107), the ConfigurationAwareRecordService no longer uses BackendUtility::getRecord(). As a result, the default Restrictions are now applied to the query.
If you have an already published and indexed article and modify the startdate to schedule the article for future publication, the queue item will be deleted and not reinserted due to the StarttimeRestriction, which removes the item from the result list.
In EXT:solr v11, the behavior is different. After modifying the start date, the item will be deleted from tx_news_domain_model_news and reinserted for further indexing.
Used versions (please complete the following information):
Describe the bug By fixing this issue (https://github.com/TYPO3-Solr/ext-solr/issues/4107), the
ConfigurationAwareRecordService
no longer usesBackendUtility::getRecord()
. As a result, the default Restrictions are now applied to the query.If you have an already published and indexed article and modify the startdate to schedule the article for future publication, the queue item will be deleted and not reinserted due to the StarttimeRestriction, which removes the item from the result list.
In EXT:solr v11, the behavior is different. After modifying the start date, the item will be deleted from tx_news_domain_model_news and reinserted for further indexing.
Used versions (please complete the following information):
TYPO3 Version: 12.4 EXT:solr Version: 12.x Used Apache Solr Version: 9.6