tl;dr if someone curious has the time to check if the ES 9 beta works with Search::Elasticsearch , it will help to know if we should immediately worry about Search::Elasticsearch being EOL. If it's not compatible, things will might be a bit tough. (slightly less tl;dr, jump to "Conclusion") Announced here mid 2022 https://github.com/elastic/elasticsearch-perl/issues/220 It got mentioned in Bug 33353 but the issue might have been too distant at the time. And we didn't have any ES 9 preview to works with nor LTS Koha versions to account for. We now have the 1st preview of 9.X, a beta: https://github.com/elastic/elasticsearch/tags If things didn't change much in their workflows, that would mean around half a year before the 9.x release and EOL of 7.x: https://discuss.elastic.co/t/elasticsearch-8-release-date/202759/2 We might think there is still a lot of time before v10 release and v8 EOL. Which is the moment when we would have an issue. Since we have v8 support it's okay. But just with regular Koha versions and even more with LTS, it's important to know if to support v9 it would break v7 compatibility. Because such a major change is not great to do in the life of a Koha release. Like ES 8 support couldn't be backported because it broke ES 6 support. Even if it was EOL, that was an issue. If waiting mid cycle of ES 9, and if Search::Elasticsearch isn't compatible with it. It might be too late to fork it and fix stuff in Koha. Or find another way to communicate with ES (and change even more stuff in Koha which would definitely not be backportable regardless of ES 7 support). By the time it's ready (past ES compat work took time while being simpler), the LTS and maybe also the latest Koha release at the time might be still stuck with official Search::Elasticsearch. And during their lifecycles, ES might be out of date. ES release dates: ES 6: 2017-11 ES 7: 2019-04 ES 8: 2022-02 ES 9: ~2025-10 likely It really depends on how long the time will be between ES 9 and ES 10. We might not have to worry about regular Koha releases unless ES are quick. But if in November 2026 (which is not that far when looking at Bug 25439 for ES 7 in 2020-05. It came into fruition for 22.11 with bug 25669), so if by then we don't support ES 9 (if ES 9 won't work with the current lib), then 26.11 LTS might be stuck with EOL ES 8 before it's own EOL in 2030-05. Which would be for **more than half it's life** if ES 10 comes out in mid 2028 which would be a 2.5 year dev cycle which isn't crazy when looking at the history. Hopefully it keeps getting longer as ES is mature. But no way ES 10 comes as late as 2030. Missing ES 9 support for Koha 26.11 is sure to lead to the issue of having to backport it during it's life which might be problematic if the changes are too big. Conclusion: So despite things seemingly being very far away, with the ES 9 beta now, there is a broom wagon[1] that has started to slowly makes it's way forward. - And with not really pessimistic delay for us to get ES 9 support (which might be especially tough this time) - Our LTS timeline - A not really pessimistic delay between ES 9 and ES 10 We can already foresee that broom wagon catching us before the finish line (the full cycle of Koha 26.11 LTS) (Such dependency management is really Sisyphus cycling and having to stop if not finishing soon enough. And then having to wait for the broom wagon for way longer than they were pedaling! 🙃 Over and over, wondering if they will make it each time. Did I miss something? Is this really our fate? 🤣) [1] https://en.wikipedia.org/wiki/Broom_wagon Or with another analogy, it's early morning, we are hiking and turns out we can already foresee the sun going down before we reach our destination.
The approximation of ES 9 release and ES 7 EOL allows us to look back to past Koha releases. (it's ~2025-08 actually, I miscounted in the previous message.) https://wiki.koha-community.org/wiki/Koha_Versioning#LTS_Releases_.282022-.29 https://wiki.koha-community.org/wiki/System_requirements_and_recommendations So Koha 22.11 will be EOL on 2026-05 which means around 9 months without being compatible with a supported ES. And hoping for no security release of ES. So that would be another ticket to keep track of that upcoming situation >_< Koha 24.11 will be EOL on 2028-05. There is no reliable approximation of ES 8 EOL but unless ES are quicker to jump to the next major version, then we should not get ES 10 before mid 2028 as per the guesswork on the previous message. So it should be ok for 24.11 as it nicely benefited from the long cycle between ES 8 and ES 9.