Bug 35077

Summary: pinning perl Elasticsearch client version to "< 8.0"
Product: Koha Reporter: davewood
Component: PackagingAssignee: Bugs List <koha-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P5 - low CC: dcook, mtj
Version: 23.05   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description davewood 2023-10-17 12:42:48 UTC
if you install Koha on debian 12 (bookworm) you will end up with version 8 of the module https://metacpan.org/pod/Search::Elasticsearch

at the moment of writing this bug report this module doesnt work with ES 7.0 (the latest ES version that I am aware works with Koha 23.05

changing the version requirement in https://github.com/Koha-Community/Koha/blob/master/cpanfile#L99) to

```
requires 'Search::Elasticsearch', '< 8.00';
```

currently installs Search-Elasticsearch-7.717 which seems to work for me.

current workaround for our system. run `cpanm Search::Elasticsearch~"< 8.00"`
Comment 1 David Cook 2024-08-28 02:08:59 UTC
On koha-testing-docker using main version 24.0600026, I'm using libsearch-elasticsearch-perl 8.00-1, and it's working with Elasticsearch 7.17.20

So... I think this might be invalid at this time.