[Bug 37494] New: catalogue/showelastic.pl missing parameter "type"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Bug ID: 37494 Summary: catalogue/showelastic.pl missing parameter "type" Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org In Bug 35618 Danyon provides a counter patch that fixes catalogue/showelastic.pl missing parameter "type" -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35618 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35618 [Bug 35618] catalogue/showelastic.pl uses deprecated/removed parameter "type" -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 169712 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169712&action=edit Bug 37494: Fix catalogue/showelastic.pl missing parameter "type" In Bug 35618 Danyon provides a counter patch that fixes catalogue/showelastic.pl missing parameter "type". ES 7/8 uses '_doc' Test plan : 1) Use Elasticsearch search engine 2) Search whatever you want in Search the catalog and select a notice 3) Click on "Elasticsearch Record :" link => Without patch you have HTTP 404 => With patch you see datas in JSON -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danyonsewell@catalyst.net.n | |z -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #2 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- I am using KTD - with es8 option kohadev-koha@kohadevbox:koha(main)$ curl es:9200 { "name" : "71a3c12510b3", "cluster_name" : "docker-cluster", "cluster_uuid" : "N3U1Y38qQdy4HdsAKBO5iA", "version" : { "number" : "8.13.0", "build_flavor" : "default", "build_type" : "docker", "build_hash" : "09df99393193b2c53d92899662a8b8b3c55b45cd", "build_date" : "2024-03-22T03:35:46.757803203Z", "build_snapshot" : false, "lucene_version" : "9.10.0", "minimum_wire_compatibility_version" : "7.17.0", "minimum_index_compatibility_version" : "7.0.0" }, "tagline" : "You Know, for Search" } Before patch - succeeds After path - 404 I think there must be a configuration issue here that explains why our results are different -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 --- Comment #3 from Fridolin Somers <fridolin.somers@biblibre.com> --- Using command line works with : curl es:9200/index_biblios/_doc/1234 _doc is used even in ES8 : https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-get.html But not sure this is directly related. Also I see Search::Elasticsearch is still in 6.80, normal ? In cpanfile and packages : http://debian.koha-community.org/koha/dists/23.11/main/binary-amd64/Packages Can someone give another shot please ? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 --- Comment #4 from Fridolin Somers <fridolin.somers@biblibre.com> --- Could someone give another shot please ? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 --- Comment #5 from David Nind <david@davidnind.com> --- I'm not seeing the 404 error using main, and ES7 or ES8. Tested using KTD with ES8: 1. No 404 error, ES record details are shown in the dialog box 2. curl es:9200/koha_kohadev_biblios/_doc/5 works as expected 3. Details: curl es:9200 { "name" : "ac053598f5a6", "cluster_name" : "docker-cluster", "cluster_uuid" : "xhklomdtSoa8opTC6b6eiQ", "version" : { "number" : "8.13.0", "build_flavor" : "default", "build_type" : "docker", "build_hash" : "09df99393193b2c53d92899662a8b8b3c55b45cd", "build_date" : "2024-03-22T03:35:46.757803203Z", "build_snapshot" : false, "lucene_version" : "9.10.0", "minimum_wire_compatibility_version" : "7.17.0", "minimum_index_compatibility_version" : "7.0.0" }, "tagline" : "You Know, for Search" Tested using KTD with ES7: 1. No 404 error, ES record details are shown in the dialog box 2. curl es:9200/koha_kohadev_biblios/_doc/5 works as expected 3. Details: curl es:9200 { "name" : "c7374ef1fef8", "cluster_name" : "docker-cluster", "cluster_uuid" : "l10NN4FeTMG8Qu_MfSw60g", "version" : { "number" : "7.17.20", "build_flavor" : "default", "build_type" : "docker", "build_hash" : "b26557f585b7d95c71a5549e571a6bcd2667697d", "build_date" : "2024-04-08T08:34:31.070382898Z", "build_snapshot" : false, "lucene_version" : "8.11.3", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michaela.sieber@kit.edu -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |RESOLVED Resolution|--- |INVALID --- Comment #6 from Fridolin Somers <fridolin.somers@biblibre.com> --- I can now reproduce the behavior on Ubuntu Noble. This patch is indeed not needed. I see libsearch-elasticsearch-perl is 8.12-1 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Thanks Nick and David for your tests ;) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37494 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38912 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org