TYPO3-Solr / ext-solr

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

[FEATURE] Feature flag to skip RecordMonitor and GarbageCollection #4108

Open kitzberger opened 4 months ago

kitzberger commented 4 months ago

Problem

Currently the 2 hooks of EXT:solr into DataHandler are fired for all sites, their pages and records. This is time consuming. Especially the RecordMonitor is taking up to 10s to do its thing.

Side note: recursively changing the permissions (owner, group, bit-mask) of a page tree via "Access" module is the mother of all killer operations and often runs into memory allocation problems:

:goberserk: Fatal error: Allowed memory size of 402653184 bytes exhausted

But that seems to be a whole different problem, I believe.

Solution

For sites that don't use solr, it'll be great to have them skip the DataHandler hooks completely.

Target versions

EXT:solr 12.x