events2
events2 copied to clipboard
Avoid indexing events in the past
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?
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
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
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.