Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid indexing events in the past #435

Open
derBoogie opened this issue Oct 25, 2023 · 3 comments
Open

Avoid indexing events in the past #435

derBoogie opened this issue Oct 25, 2023 · 3 comments
Assignees

Comments

@derBoogie
Copy link

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?

@sfroemkenjw sfroemkenjw self-assigned this Feb 13, 2024
@sfroemkenjw
Copy link
Contributor

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

@derBoogie
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants