https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25669 --- Comment #27 from Kevin Carnes <kevin.carnes@ub.lu.se> --- (In reply to Victor Grousset/tuxayo from comment #26)
It will work as long as support before 6.7 is not required
I would say that's not a problem. ES <= 6.7 (even 6.8 actually) has security issues and is upgradable to 6.8.x directly.
In that case I think it would be possible to avoid checking the ES version. As long as the minimum version of ES is 6.7 and the minimum version of Search::Elasticsearch is 6.8, using include_type_name should work for both ES 6 and 7. This will give systems with ES 6 time to upgrade to ES 7. When it's decided that support for ES 6 is no longer needed, include_type_name and specifying the type name can be removed from Koha without needing to check the ES version since it's assumed to be ES 7 or ES 8. -- You are receiving this mail because: You are watching all bug changes.