[Bug 41210] New: Author field searches do not include enough fields
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 Bug ID: 41210 Summary: Author field searches do not include enough fields Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com For author fields like 110 / 710 we may have subordinate units or other info which is relevant to finding related records, currently none of these subfields are search so something like: Paris. Salon (Société des artistes français) Searches just: Paris. -- 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=41210 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=41210 --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 189226 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189226&action=edit Bug 41210: Add additional fields to author search links in staff interface This patch adds fields to the search for author fields To test: 1 - Edit a record, add additional author fields 100 _ _ ‡aaSeuss,‡cDr. 700 1 _ ‡aH. D.‡q(Hilda Doolittle),‡d1886-1961. 700 _ _ ‡aBeethoven, Ludwig van,‡d1770-1827‡c(Spirit) 110 1 _ ‡aFreemasons.‡bConcordia Lodge, No. 13 (Baltimore, Md.) 111 _ _ ‡aStour Music Festival.‡eOrchestra. 711 _ _ ‡aParis‡qSalon (Société des artistes français) 2 - View the record in staff interface 3 - Note all the author searches are subfield 'a' only 4 - Apply patch, now we have x00 = abcq x10 = ab x11 = aeq 5 - Confirm this is better -- 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=41210 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | -- 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=41210 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |flyingendpaper@gmail.com, | |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |phil@chetcolibrary.org --- Comment #2 from Phil Ringnalda <phil@chetcolibrary.org> --- Pretty sure you need a "<xsl:with-param name="urlencode">1</xsl:with-param>" in your call-template to not have your link break on funky names. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 --- Comment #3 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 189624 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189624&action=edit Bug 41210: (follow-up) Urlencode author names -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #4 from Phil Ringnalda <phil@chetcolibrary.org> --- With ES, the searches fail, since the mappings we ship don't index anything but subfield a in the au index. With Zebra, au:"Beethoven, Ludwig van, (Spirit)" fails because subfield d is indexed, so while au:"Beethoven, Ludwig van, 1770-1827 (Spirit)" would work, without the date it doesn't match. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |In Discussion --- Comment #5 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- (In reply to Phil Ringnalda from comment #4)
With ES, the searches fail, since the mappings we ship don't index anything but subfield a in the au index.
With Zebra, au:"Beethoven, Ludwig van, (Spirit)" fails because subfield d is indexed, so while au:"Beethoven, Ludwig van, 1770-1827 (Spirit)" would work, without the date it doesn't match.
I can adjust, but I think I need some input here. Is it better to search for; au:"Beethoven, Ludwig van, (Spirit)" or au:"Beethoven, Ludwig van" AND au:"(Spirit)" And or should the dates be included? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> ---
I can adjust, but I think I need some input here. Is it better to search for; au:"Beethoven, Ludwig van, (Spirit)" or au:"Beethoven, Ludwig van" AND au:"(Spirit)"
And or should the dates be included?
I believe we talked about this in NZ and after thinking some more about this, I believe the first is the better version, even if it means we need to adjust our indexing (and this might create update issues), because it will give us results where all values match in the same field, while the second version might give us wrong results where the "parts" appear on different fields? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 --- Comment #7 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 192105 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192105&action=edit Bug 41210: Adjust ES and Zebra mappings This fixes the issue for ES. For zebra I cannot get the search to work - I believe I added the fields and updated correctly but putting this on the bug for testiing: For SearchEngine Elasticsearch 1 - Apply patch 2 - perl misc/search_tools/rebuild_elasticsearch.pl -r -v 3 - Add sample record as stated in bug 4 - Confirm all links work For SearchEngine Zebra 1 - Apply patch 2 - sudo cp /kohadevbox/koha/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl 3 - restart_all 4 - sudo koha-rebuild-zebra -v -f kohadev 5 - Confirm all links in record work 6 - They don't currently -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41210 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org