teaminmedias-pluswerk / ke_search

Search Extension for TYPO3 Content Management System, including faceting search functions.
https://extensions.typo3.org/extension/ke_search/
GNU General Public License v3.0
35 stars 62 forks source link

Feature: Incremental indexer / Reduce indexing time #370

Closed christianbltr closed 3 years ago

christianbltr commented 4 years ago

There are some large installations out there using ke_search with tens of thousands of records in the index. The indexing time can be quite long for those installations.

For those installations it would be nice to have the possibility to run the indexers in "incremental mode", so that only changes since the last index run will be indexed.

It should be quite easy to find and index new and changed records:

A bit more of a challenge will be to find the deleted records and delete them from the index as well. Maybe use a backend hook and write deleted records to a queue and process those records in next incremental indexing?

Every indexer which supports incremental indexing will have to have dedicated method for that, eg. "startIncrementalIndexing" in addtion to "startIndexing".

christianbltr commented 3 years ago

This has been implemented in ke_search 3.8.0.