events2 icon indicating copy to clipboard operation
events2 copied to clipboard

Avoid indexing events in the past

Open derBoogie opened this issue 2 years ago • 3 comments

Hi, indexed Search shows past events over time. Indexed Search also indexes past recurring events from the start date. Since only events in the future make sense in the search results, past indexed events should basically not be shown in the search results. Is there a possibility to get rid of past events in the search results?

derBoogie avatar Oct 25 '23 14:10 derBoogie

Hello @derBoogie

I have deprecated the old method which only indexes events in given timeframe. As now ALL events are processed also the day records of the out-dated events will be removed.

https://github.com/jweiland-net/events2/blob/main/Classes/Service/DatabaseService.php#L93-L98

Can you test that with verion 9.0.* again?

Thank you

Stefan

sfroemkenjw avatar Feb 13 '24 09:02 sfroemkenjw

Hi @sfroemkenjw,

I currently only have installations running on TYPO3 11.5 with events2 (v8.3.7) and the past events are still displayed in the search results.

Greetings

derBoogie avatar Feb 29 '24 10:02 derBoogie

Hi @sfroemkenjw, in the meantime I have Events2 running under TYPO3 12.4.17. Yesterday I completely deleted all indexed dates from indexed_search on this page https://www.wiesbaden-schelmengraben.de. If I now enter e.g. Sprechcafé in the search, I can see that past events are listed again. According to your statement, this should no longer happen.

derBoogie avatar Jul 27 '24 11:07 derBoogie