Then again… I can’t reproduce this problem on koha-testing-docker, but I can on a prod Koha running Zebra 2.1.4 with… a very strange /etc/koha/zebradb/etc/default.idx file…

 

David Cook

Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of dcook@prosentient.com.au
Sent: Friday, 11 December 2020 3:32 PM
To: 'Koha Devel' <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] LinkBibHeadingsToAuthorities not working as expected

 

Hi all,

 

I’m still investigating, but it seems to me that the C4::Linker::Default in C4::Biblio::LinkBibHeadingsToAuthorities isn’t searching accurately using C4::Heading::authorities.

 

I’m looking at C4::AuthoritiesMarc::SearchAuthorities and at a glance it looks OK, but in practice I think that my search queries are getting way too many results.

 

By hand, if I try the following query:

Match-heading,phr,ext,do-not-truncate="e"

 

I get a huge number of results, which is odd, since that should be an “exact” match.

 

I’ve opened https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27198 because I need to improve the diagnostics available for a Zebra authorities database, but yeah… not good. Hopefully I’ll know more soon.

 

David Cook

Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595