[Koha-devel] Linking bibs to authorities

Ian Bays ian.bays at ptfs-europe.com
Fri Aug 2 17:32:13 CEST 2013


Hi.
I mentioned we also have a problem with linking bibs to authorities.

We use authorities and want to link them to bibs.  Over previous 
versions of Koha this has sometimes worked quite well.  However on a few 
systems we have at version 3.12 it seems that the Zebra search into the 
authorities (used by link_bib_to_authorities) is returning all terms 
that contain any of the words in the bib field.

So if the linkage is set to "default" then most authority searches will 
return multiple answers which means they do not link.
If the linkage syspref is set to first or last then most of the bibs 
will link to the wrong authority as it is pot luck which will be first 
(or last) of the many authorities found by searching all the words ORed 
together.
The only terms that will link are single-word authorities that are not 
used in any other authorities.

If anyone has any pointers or knows how to get round or over this 
problem I would love to hear from you.  More details on request...

We are using Zebra dom indexing and icu chains and are using Koha 3.12 
on Debian.  We are not yet using QueryParser.  Sysprefs and Help > About 
are here:

Sysprefs are:

+--------------------------+-------+
| variable                 | value |
+--------------------------+-------+
| IncludeSeeFromInSearches | 0     |
| QueryAutoTruncate        | 0     |
| QueryFuzzy               | 0     |
| QueryStemming            | 0     |
| QueryWeightFields        | 1     |
| TraceCompleteSubfields   | 0     |
| TraceSubjectSubdivisions | 0     |
| UseICU                   | 1     |
| UseQueryParser           | 0     |
+--------------------------+-------+


Koha> About:

Koha version:     3.12.01.000
OS version ('uname -a'):     Linux dclg.koha.ptfsadmin.uk0.bigv.io 
3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
Perl interpreter:     /usr/bin/perl
Perl version:     5.014002
Perl @INC:     /home/koha/kohaclone
/etc/perl
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.14
/usr/share/perl/5.14
/usr/local/lib/site_perl
.
MySQL version:     mysql Ver 14.14 Distrib 5.5.31, for debian-linux-gnu 
(x86_64) using readline 6.2
Apache version:     Server version: Apache/2.2.22 (Debian)
Zebra version:     Zebra 2.0.55 (C) 1994-2013, Index Data ApS Zebra is 
free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain 
conditions. SHA1 ID: bd2bc9360225e695bbaba2c2d1cd6925c4eb23a5 Using ICU

Many thanks folks.
Ian


-- 
Ian Bays
Director of Projects, PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 800 756 6803 (phone)
+44 (0) 7774 995297 (mobile)
+44 (0) 800 756 6384 (fax)
skype: ian.bays
email: ian.bays at ptfs-europe.com



More information about the Koha-devel mailing list