https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43113 Bug ID: 43113 Summary: EasyAnalytics component search is too broad Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- Given a record linked to a title (containing a 773$t) like 'There exist wolves in the world' And another record simply title 'Wolves' - the second record will always show an analytics link when using easy analytics, because its title is contained in the other title. We need to do a more exact/restrictive match here. -- 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=43113 --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 202929 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202929&action=edit Bug 43113: Use phrase field for components search This patch fixes the ES search by appending ".phrase" to the field. FIXME: This doesn't work for Zebra - I am not sure how to fix that To test: 1 - Create a record with title "Wolves" 2 - Create another record, add a 773$t subfield with "There exist wolves" 3 - Ensure 'UseControlNumber" system preference is set to "Don't use" 4 - View the record for 'Wolves' 5 - There is a "Show anlytics" link 6 - Apply patch, restart all 7 - Refresh - the link is gone 8 - Edit the record from step 2 and set the 773$t to 'Wolves' 9 - View the record for 'Wolves' and confirm 'Show analytics' is back -- 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=43113 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- I'd say this is probably a duplicate of bug 26480 -- 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=43113 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=26480, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=11175, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=15851 -- 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=43113 --- Comment #3 from David Cook <dcook@prosentient.com.au> --- Can you use ",phr" for ES? In Koha/SearchEngine/Elasticsearch/QueryBuilder.pm I notice ",phr" changes the query to this: "$field:(\"$term\"). Would that be sufficient? In UNIMARC, there's "Host-item:p" in the Zebra conf but in MARC21 it's just "Host-item:w". The optimal solve probably would be to add "Host-item:p" for MARC21 and then to use "Host-item,phr" to cover both Zebra and Elastic I would think? -- 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=43113 --- Comment #4 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #2)
I'd say this is probably a duplicate of bug 26480
Although maybe that's actually more to do with the standard identifiers. And the other "See also" bugs are more about the title. Bleargh... -- 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