[!!!][TASK] Remove cHash calculation in indexed search 84/61284/5
authorBenni Mack <benni@typo3.org>
Sat, 13 Jul 2019 07:06:31 +0000 (09:06 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 13 Jul 2019 12:20:55 +0000 (14:20 +0200)
commit0c531014d09d0b16a92438c86d717a33e0a345b8
tree6b89ec80869ce74f9c858008eedd3f15258fe36b
parent9df0ed13c831f750e9bc7b51c3985aa35feb5c71
[!!!][TASK] Remove cHash calculation in indexed search

cHash is now added automatically when a URL is generated.
The relevant query parameters when indexing
are stored in "static_page_arguments", which allows
to remove the database field "cHashParams".

Therefor it is not necessary anymore to configure if
cHash should be taken into account when creating
a configuration for indexed search.

Instead, when linking to a page on a search result,
the page arguments are added. In addition, when
pages are indexed, only the static page arguments
are evaluated.

Debug Information when indexing is also adding
data more sensibly via json_encode/decode.

Effectively, this means that specific handling
for cHash resolving is fully removed from
EXT:indexed_search.

Related: #87193
Resolves: #88741
Releases: master
Change-Id: I84738612d42615a3ac24d271c5509b52467d81af
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61284
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
20 files changed:
typo3/sysext/core/Documentation/Changelog/master/Breaking-87193-DeprecatedFunctionalityRemoved.rst
typo3/sysext/core/Documentation/Changelog/master/Breaking-88741-CHashCalculationInIndexedSearchRemoved.rst [new file with mode: 0644]
typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php
typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php
typo3/sysext/indexed_search/Classes/Example/CrawlerHook.php
typo3/sysext/indexed_search/Classes/Hook/CrawlerHook.php
typo3/sysext/indexed_search/Classes/Indexer.php
typo3/sysext/indexed_search/Configuration/TCA/index_config.php
typo3/sysext/indexed_search/Documentation/AnalysingIndexedData/Index.rst
typo3/sysext/indexed_search/Documentation/DatabaseTables/IndexPhash/Index.rst
typo3/sysext/indexed_search/Resources/Private/Language/locallang.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_csh_indexcfg.xlf
typo3/sysext/indexed_search/Resources/Private/Language/locallang_db.xlf
typo3/sysext/indexed_search/Resources/Private/Templates/Administration/ExternalDocuments.html
typo3/sysext/indexed_search/Resources/Private/Templates/Administration/Pages.html
typo3/sysext/indexed_search/ext_tables.sql
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php