[Koha-bugs] [Bug 28610] Elasticsearch 7 - hits.total is now an object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 21 15:53:13 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28610

--- Comment #17 from Kevin Carnes <kevin.carnes at ub.lu.se> ---
(In reply to Jonathan Druart from comment #16)
> -requires 'Search::Elasticsearch', '5.01';
> +requires 'Search::Elasticsearch', '6.00';
> 
> Why this change in this patch? We certainly should upgrade our minimum
> version, but it should be done on its own bug report.

6.00 is the minimum version that has track_total_hits in its API for search
(look for track_total_hits in
https://metacpan.org/release/DRTECH/Search-Elasticsearch-6.00/source/lib/Search/Elasticsearch/Client/6_0/Role/API.pm
and
https://metacpan.org/release/DRTECH/Search-Elasticsearch-5.02/source/lib/Search/Elasticsearch/Client/5_0/Role/API.pm)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list