Review 10.4 Abandoned

61431[FEATURE] Rework external crawler support

Tizian Schmidlin CR 0 V 0 Hard +216 −37 updated 11/09/21, 21:38

Commit message

Add new way to register indexed search support tasks.

This is done to try to remove the cross dependency to crawler
by relying on a generic worker object instead of concrete
objects.

The idea is to provide a default worker that will simply call the
Indexer-classes internals and work as if nothing happened, as
long as no other extension registered itself. If this is the case
the indexed search will work as usual.

If an extension, say the crawler extension, want's to take over
control on how and what is crawled and the integrator activated
the option to use a crawler extension for content indexing, it
can register itself using
\TYPO3\CMS\IndexedSearch\Worker\Factory::overrideWorker(
  new \Vendor\Extension\Worker\IndexerWorker
);
. This will trigger a set of events and tell indexed search to
force the reindexing of the content on each pass.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 7