Browse Source

Bug 11586: Better default framework for UNIMARC - zebra conf

This patch updates the Zebra configuration for unimarc.

995$d and 995$j should not be indexed.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
MM-OPAC/theme_dep
Jonathan Druart 8 years ago
committed by Tomas Cohen Arazi
parent
commit
b3acefc319
  1. 11
      etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml
  2. 14
      etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl
  3. 3
      etc/zebradb/marc_defs/unimarc/biblios/record.abs

11
etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml

@ -1367,12 +1367,6 @@
<target_index>Record-Source:w</target_index>
<target_index>item:w</target_index>
</index_subfields>
<!--995$d holdingbranch,Record-Source,item-->
<index_subfields tag="995" subfields="d">
<target_index>holdingbranch:w</target_index>
<target_index>Record-Source:w</target_index>
<target_index>item:w</target_index>
</index_subfields>
<!--995$e location,location:p,item-->
<index_subfields tag="995" subfields="e">
<target_index>location:w</target_index>
@ -1391,11 +1385,6 @@
<target_index>ccode:p</target_index>
<target_index>item:w</target_index>
</index_subfields>
<!--995$j LC-card-number:s,item-->
<index_subfields tag="995" subfields="j">
<target_index>LC-card-number:s</target_index>
<target_index>item:w</target_index>
</index_subfields>
<!--995$k Call-Number,Local-classification,lcn,Call-Number:p,Local-classification:p,lcn:p,item,Local-classification:s-->
<index_subfields tag="995" subfields="k">
<target_index>Call-Number:w</target_index>

14
etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl

@ -294,13 +294,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</z:index>
</xslo:if>
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('d', @code)">
<z:index name="holdingbranch:w Record-Source:w item:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('e', @code)">
<z:index name="location:w location:p item:w">
@ -322,13 +315,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</z:index>
</xslo:if>
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('j', @code)">
<z:index name="LC-card-number:s item:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('k', @code)">
<z:index name="Call-Number:w Local-classification:w lcn:w Call-Number:p Local-classification:p lcn:p item:w Local-classification:s">

3
etc/zebradb/marc_defs/unimarc/biblios/record.abs

@ -502,8 +502,6 @@ melm 995$a homebranch,Host-item,item
melm 995$b homebranch,Host-item,item
# $c - Lending or holding library - free text
melm 995$c holdingbranch,Record-Source,item
# $d - Lending or holding library - coded information
melm 995$d holdingbranch,Record-Source,item
# 2. Identification and classification
# $e - shelving information
@ -518,7 +516,6 @@ melm 995$h ccode,ccode:p,item
# (in 995 recommandation : $i - barcode - suffix)
# $j - LC-card-number,
# (in 995 recommandation : $j - section, i.e. part of a library)
melm 995$j LC-card-number:s,item
# $k - callnumber
melm 995$k Call-Number,Local-classification,Call-Number:p,Local-classification:p,Local-classification:s,item
# $l - not used currently

Loading…
Cancel
Save