codappix / search_core

TYPO3 CMS 8.x Extension with basic Integration of Elasticsearch
https://search-core.readthedocs.io/en/latest/
12 stars 9 forks source link

FEATURE: Index page if cache was cleared #133

Closed DanielSiepmann closed 6 years ago

DanielSiepmann commented 6 years ago

We use the cache clear hook to index pages whenever the cache was cleared. This makes it possible to cover some cases like changing content on a page. But also if an integrator configures to clear additional pages.

This is limited as we can not handle cache tags at the moment.

Resolves: #131

DanielSiepmann commented 6 years ago

@martinhummer can you check whether this works for you? I'll only merge if it's working for you, too.

DanielSiepmann commented 6 years ago

Thanks @martinhummer I saw the bug while refactoring to support both TYPO3 LTS versions and opened #135. This is not related to this Pull Request and will be fixed in a separate PR. The fix is to add another condition to the query, as it was done for TYPO3 CMS 7.6 before.

Once #136 is merged, I'll check and fix the broken tests and merge. In the meantime, you can use the diff at Github if you wish.