[Koha-bugs] [Bug 33626] compare_es_to_db.pl does not work with Search::Elasticsearch 7.0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 27 13:27:15 CEST 2023


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 150289
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150289&action=edit
Bug 33626: Remove invalid params

This patch reformats the params passed to scroll_helper as defined here:
https://metacpan.org/pod/Search::Elasticsearch::Client::7_0::Scroll

To test:
1 - perl misc/maintenance/compare_es_to_db.pl
2 - It dies:
[Param] ** Unknown param (scroll_in_qs) in (search) request. , called from sub
Search::Elasticsearch::Client::7_0::Direct::scroll_helper at
misc/maintenance/compare_es_to_db.pl line 55.
3 - Apply patch
4 - Repeat
5 - It succeeds!

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


More information about the Koha-bugs mailing list