[Koha] Adding "Identifier-standard" field to Zebra's authority index

Katrin Fischer katrin.fischer.83 at web.de
Sun Jun 2 21:53:55 NZST 2019


Hi Simon and Alvaro,

I've also tried to add the new index and have failed. :(

One thing to consider: Depending on how you installed Koha, the actually
used configuration files live as copies in a different place. This is
true for kohadevbox and git installations, not sure about packages. So
you might want to check if you have another copy of the files.

I've also found a bug:

*Bug 23000*
<https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23000> -
Running xsltproc for authority index definitions adds unwanted changes

Maybe try manually removing the false changes to see if this makes a
difference.

I'd be interested if someone else manages to add the index successfully
and could share a patch file to compare?

Katrin


On 29.05.19 11:17, Simon Hohl wrote:
> Hi Alvaro,
>
> the file itself looks good to me.
>
> Regards
>
> Simon
>
> On 28.05.19 18:54, Alvaro Cornejo wrote:
>> Hi Simon
>>
>> Have you checked CR/LF/spaces at the beginning/end of each line?
>>
>> XML is sometimes very picky with this.
>>
>> Regards
>>
>> Alvaro
>>
>> |-----------------------------------------------------------------------------------------------------------------|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
>> SMS y GPRS online
>>                Visitenos en www.perusms.com <http://www.perusms.com>
>>
>>
>> Le mar. 28 mai 2019 à 06:00, Simon Hohl <simon.hohl at dainst.org
>> <mailto:simon.hohl at dainst.org>> a écrit :
>>
>>      Hi everyone,
>>
>>      I am still struggling with this problem, anybody got any idea where to
>>      continue?
>>
>>      Cheers,
>>
>>      Simon
>>
>>      On 14.05.19 10:45, Simon Hohl wrote:
>>      >
>>      > Hi everyone,
>>      >
>>      > this Email is a followup on:
>>      > https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22013
>>      >
>>      > I want to apply a record matching rule on my authority data, which
>>      > checks field 024$9 against existing authority data. So far I tried
>>      > following these instructions:
>>      > https://wiki.koha-community.org/wiki/How_to_add_new_zebra_index
>>      >
>>      > 1. Added to authority-koha-indexdefs.xml (roughly copied over
>>      from the
>>      > biblio equivalent):
>>      >
>>      >>   <!--record.abs line 60: melm 024        Identifier-standard-->
>>      >>   <kohaidx:index_subfields tag="024"
>>      subfields="abcdefghjklmnopqrstvxyz0123456789">
>>      >>
>>       <kohaidx:target_index>Identifier-standard:w</kohaidx:target_index>
>>      >>   </kohaidx:index_subfields>
>>      > 2. Added to etc/zebradb/authorities/etc/bib1.att:
>>      >
>>      >> att 1007 Identifier-standard
>>      > 3. Ran xsltproc on xml to create xsl file
>>      >
>>      > 4. Rebuilt Zebra
>>      >
>>      >> koha-rebuild-zebra -a -f -v (...)
>>      >
>>      > But so far, the error persists:
>>      >
>>      >> oAuth error: Unsupported Use attribute (114)
>>      Identifier-standard Bib-1
>>      > Did I miss something or are there additional steps necessary for
>>      > adding authority fields compared to the bibliographic index?
>>      >
>>      > Kind regards,
>>      >
>>      > Simon
>>      >
>>      >
>>      > My system information:
>>      >
>>      >> Koha version:     18.11.05.000
>>      >> OS version ('uname -a'):     Linux (...) 4.9.0-9-amd64 #1 SMP
>>      Debian
>>      >> 4.9.168-1 (2019-04-12) x86_64
>>      >> Perl interpreter:     /usr/bin/perl
>>      >> Perl version:     5.024001
>>      >> Perl @INC:     /usr/share/koha/lib
>>      >> /etc/perl
>>      >> /usr/local/lib/x86_64-linux-gnu/perl/5.24.1
>>      >> /usr/local/share/perl/5.24.1
>>      >> /usr/lib/x86_64-linux-gnu/perl5/5.24
>>      >> /usr/share/perl5
>>      >> /usr/lib/x86_64-linux-gnu/perl/5.24
>>      >> /usr/share/perl/5.24
>>      >> /usr/local/lib/site_perl
>>      >> /usr/lib/x86_64-linux-gnu/perl-base
>>      >> MySQL version:     mysql Ver 15.1 Distrib 10.1.38-MariaDB, for
>>      >> debian-linux-gnu (x86_64) using readline 5.2
>>      >> Apache version:     Server version: Apache/2.4.25 (Debian)
>>      >> Memcached:     Servers: 127.0.0.1:11211
>>      <http://127.0.0.1:11211> | Namespace: (...) | Status:
>>      >> running. | Config read from: koha-conf.xml
>>      >> Zebra version:     Zebra 2.0.59 (C) 1994-2014,(...)
>>      >> Date and time:     14/05/2019 10:18
>>      >> Time zone:     Used: Europe/Berlin | Config: Undefined |
>>      Environment
>>      >> (TZ): Undefined
>>      >
>>      _______________________________________________
>>      Koha mailing list  http://koha-community.org
>>      Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
>>      https://lists.katipo.co.nz/mailman/listinfo/koha
>>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list