Bug 35077

Summary: pinning perl Elasticsearch client version to "< 8.0"
Product: Koha Reporter: davewood
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: major    
Priority: P5 - low    
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:

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"`