View | Details | Raw Unified | Return to bug 9972
Collapse All | Expand All

(-)a/C4/Search.pm (+6 lines)
Lines 958-963 sub getIndexes{ Link Here
958
                    'Corporate-name-seealso',
958
                    'Corporate-name-seealso',
959
                    'Country-publication',
959
                    'Country-publication',
960
                    'ctype',
960
                    'ctype',
961
                    'curriculum',
961
                    'date-entered-on-file',
962
                    'date-entered-on-file',
962
                    'Date-of-acquisition',
963
                    'Date-of-acquisition',
963
                    'Date-of-publication',
964
                    'Date-of-publication',
Lines 977-982 sub getIndexes{ Link Here
977
                    'Host-item',
978
                    'Host-item',
978
                    'id-other',
979
                    'id-other',
979
                    'Illustration-code',
980
                    'Illustration-code',
981
                    'Index-term-genre',
982
                    'Index-term-uncontrolled',
980
                    'ISBN',
983
                    'ISBN',
981
                    'isbn',
984
                    'isbn',
982
                    'ISSN',
985
                    'ISSN',
Lines 989-996 sub getIndexes{ Link Here
989
                    'lc-card',
992
                    'lc-card',
990
                    'LC-card-number',
993
                    'LC-card-number',
991
                    'lcn',
994
                    'lcn',
995
                    'lex',
992
                    'llength',
996
                    'llength',
993
                    'ln',
997
                    'ln',
998
                    'ln-audio',
999
                    'ln-subtitle',
994
                    'Local-classification',
1000
                    'Local-classification',
995
                    'Local-number',
1001
                    'Local-number',
996
                    'Match-heading',
1002
                    'Match-heading',
(-)a/etc/zebradb/biblios/etc/bib1.att (+4 lines)
Lines 356-358 att 9013 arp Link Here
356
att 9520    Item
356
att 9520    Item
357
# Curriculum
357
# Curriculum
358
att 9658    curriculum
358
att 9658    curriculum
359
att 9653    Index-term-uncontrolled
360
att 9655    Index-term-genre
361
att 9906    ln-audio
362
att 9907    ln-subtitle
(-)a/etc/zebradb/ccl.properties (+9 lines)
Lines 1243-1245 item Item Link Here
1243
1243
1244
Host-Item-Number 1=8911
1244
Host-Item-Number 1=8911
1245
hi Host-Item-Number
1245
hi Host-Item-Number
1246
1247
Index-term-uncontrolled 1=9653
1248
itu Index-term-uncontrolled
1249
1250
Index-term-genre 1=9655
1251
itg Index-term-genre
1252
1253
ln-audio 1=9906
1254
ln-subtitle 1=9907
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+18 lines)
Lines 177-182 Link Here
177
  <!--record.abs line 70: melm 041$a      ln-->
177
  <!--record.abs line 70: melm 041$a      ln-->
178
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="a">
178
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="a">
179
    <target_index>ln:w</target_index>
179
    <target_index>ln:w</target_index>
180
    <target_index>ln-audio:w</target_index>
180
  </index_subfields>
181
  </index_subfields>
181
  <!--record.abs line 71: melm 041$d      ln-->
182
  <!--record.abs line 71: melm 041$d      ln-->
182
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="d">
183
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="d">
Lines 189-194 Link Here
189
  <!--record.abs line 73: melm 041$j      ln-->
190
  <!--record.abs line 73: melm 041$j      ln-->
190
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="j">
191
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="j">
191
    <target_index>ln:w</target_index>
192
    <target_index>ln:w</target_index>
193
    <target_index>ln-subtitle:w</target_index>
192
  </index_subfields>
194
  </index_subfields>
193
  <!--record.abs line 74: melm 043        Code-geographic-->
195
  <!--record.abs line 74: melm 043        Code-geographic-->
194
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="043">
196
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="043">
Lines 547-552 Link Here
547
  </index_data_field>
549
  </index_data_field>
548
  <!--record.abs line 153: melm 521$a      lex:n-->
550
  <!--record.abs line 153: melm 521$a      lex:n-->
549
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
551
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
552
    <target_index>lex:w</target_index>
553
    <target_index>lex:p</target_index>
550
    <target_index>lex:n</target_index>
554
    <target_index>lex:n</target_index>
551
  </index_subfields>
555
  </index_subfields>
552
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
556
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
Lines 684-689 Link Here
684
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
688
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
685
    <target_index>Koha-Auth-Number:w</target_index>
689
    <target_index>Koha-Auth-Number:w</target_index>
686
  </index_subfields>
690
  </index_subfields>
691
  <!--melm 653$a      Index-term-uncontrolled    -->
692
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="a">
693
    <target_index>Index-term-uncontrolled:w</target_index>
694
    <target_index>Index-term-uncontrolled:p</target_index>
695
    <target_index>Subject:w</target_index>
696
    <target_index>Subject:p</target_index>
697
  </index_subfields>
687
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
698
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
688
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
699
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
689
    <target_index>Koha-Auth-Number:w</target_index>
700
    <target_index>Koha-Auth-Number:w</target_index>
Lines 702-707 Link Here
702
    <target_index>Subject:w</target_index>
713
    <target_index>Subject:w</target_index>
703
    <target_index>Subject:p</target_index>
714
    <target_index>Subject:p</target_index>
704
  </index_data_field>
715
  </index_data_field>
716
  <!--melm 655$a      Index-term-genre    -->
717
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="a">
718
    <target_index>Index-term-genre:w</target_index>
719
    <target_index>Index-term-genre:p</target_index>
720
    <target_index>Subject:w</target_index>
721
    <target_index>Subject:p</target_index>
722
  </index_subfields>
705
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
723
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
706
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
724
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
707
    <target_index>Koha-Auth-Number:w</target_index>
725
    <target_index>Koha-Auth-Number:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-3 / +17 lines)
Lines 160-166 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
160
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
160
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
161
    <xslo:for-each select="marc:subfield">
161
    <xslo:for-each select="marc:subfield">
162
      <xslo:if test="contains('a', @code)">
162
      <xslo:if test="contains('a', @code)">
163
        <z:index name="ln:w">
163
        <z:index name="ln:w ln-audio:w">
164
          <xslo:value-of select="."/>
164
          <xslo:value-of select="."/>
165
        </z:index>
165
        </z:index>
166
      </xslo:if>
166
      </xslo:if>
Lines 181-187 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
181
    </xslo:for-each>
181
    </xslo:for-each>
182
    <xslo:for-each select="marc:subfield">
182
    <xslo:for-each select="marc:subfield">
183
      <xslo:if test="contains('j', @code)">
183
      <xslo:if test="contains('j', @code)">
184
        <z:index name="ln:w">
184
        <z:index name="ln:w ln-subtitle:w">
185
          <xslo:value-of select="."/>
185
          <xslo:value-of select="."/>
186
        </z:index>
186
        </z:index>
187
      </xslo:if>
187
      </xslo:if>
Lines 444-450 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
444
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='521']">
444
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='521']">
445
    <xslo:for-each select="marc:subfield">
445
    <xslo:for-each select="marc:subfield">
446
      <xslo:if test="contains('a', @code)">
446
      <xslo:if test="contains('a', @code)">
447
        <z:index name="lex:n">
447
        <z:index name="lex:w lex:p lex:n">
448
          <xslo:value-of select="."/>
448
          <xslo:value-of select="."/>
449
        </z:index>
449
        </z:index>
450
      </xslo:if>
450
      </xslo:if>
Lines 587-592 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
587
  </xslo:template>
587
  </xslo:template>
588
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
588
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
589
    <xslo:for-each select="marc:subfield">
589
    <xslo:for-each select="marc:subfield">
590
      <xslo:if test="contains('a', @code)">
591
        <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p">
592
          <xslo:value-of select="."/>
593
        </z:index>
594
      </xslo:if>
595
    </xslo:for-each>
596
    <xslo:for-each select="marc:subfield">
590
      <xslo:if test="contains('9', @code)">
597
      <xslo:if test="contains('9', @code)">
591
        <z:index name="Koha-Auth-Number:w">
598
        <z:index name="Koha-Auth-Number:w">
592
          <xslo:value-of select="."/>
599
          <xslo:value-of select="."/>
Lines 605-610 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
605
  </xslo:template>
612
  </xslo:template>
606
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
613
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
607
    <xslo:for-each select="marc:subfield">
614
    <xslo:for-each select="marc:subfield">
615
      <xslo:if test="contains('a', @code)">
616
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
617
          <xslo:value-of select="."/>
618
        </z:index>
619
      </xslo:if>
620
    </xslo:for-each>
621
    <xslo:for-each select="marc:subfield">
608
      <xslo:if test="contains('9', @code)">
622
      <xslo:if test="contains('9', @code)">
609
        <z:index name="Koha-Auth-Number:w">
623
        <z:index name="Koha-Auth-Number:w">
610
          <xslo:value-of select="."/>
624
          <xslo:value-of select="."/>
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-4 / +5 lines)
Lines 75-84 melm 034 Map-scale Link Here
75
#melm 035       Local-number,Identifier-standard
75
#melm 035       Local-number,Identifier-standard
76
melm 037        Identifier-standard,Stock-number
76
melm 037        Identifier-standard,Stock-number
77
melm 040        Code-institution,Record-source
77
melm 040        Code-institution,Record-source
78
melm 041$a      ln
78
melm 041$a      ln,ln-audio:w
79
melm 041$d      ln
79
melm 041$d      ln
80
melm 041$e      ln
80
melm 041$e      ln
81
melm 041$j      ln
81
melm 041$j      ln,ln-subtitle:w
82
melm 043        Code-geographic
82
melm 043        Code-geographic
83
#melm 046       pubdate
83
#melm 046       pubdate
84
melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
84
melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
Lines 158-164 melm 505$t Title Link Here
158
melm 505        Note:w,Note:p
158
melm 505        Note:w,Note:p
159
melm 510        Indexed-by
159
melm 510        Indexed-by
160
melm 520        Abstract:w,Abstract:p
160
melm 520        Abstract:w,Abstract:p
161
melm 521$a      lex:n
161
melm 521$a      lex:w,lex:p,lex:n
162
melm 526$c      arl,arl:n
162
melm 526$c      arl,arl:n
163
melm 526$d      arp,arp:n
163
melm 526$d      arp,arp:n
164
#melm 533$d     pubdate,pubdate:s
164
#melm 533$d     pubdate,pubdate:s
Lines 188-197 melm 651$9 Koha-Auth-Number Link Here
188
melm 651        Name-geographic,Subject,Subject:p
188
melm 651        Name-geographic,Subject,Subject:p
189
melm 652$9      Koha-Auth-Number
189
melm 652$9      Koha-Auth-Number
190
#melm 652       subject-heading,subject-heading:p
190
#melm 652       subject-heading,subject-heading:p
191
melm 653$a      Index-term-uncontrolled:w,Index-term-uncontrolled:p,Subject,Subject:p
191
melm 653$9      Koha-Auth-Number
192
melm 653$9      Koha-Auth-Number
192
melm 653        Subject,Subject:p
193
melm 653        Subject,Subject:p
193
melm 654$9      Koha-Auth-Number
194
melm 654$9      Koha-Auth-Number
194
melm 654        Subject,Subject:p
195
melm 654        Subject,Subject:p
196
melm 655$a      Index-term-genre:w,Index-term-genre:p,Subject,Subject:p
195
melm 655$9      Koha-Auth-Number
197
melm 655$9      Koha-Auth-Number
196
melm 655        Subject,Subject:p
198
melm 655        Subject,Subject:p
197
melm 656$9      Koha-Auth-Number
199
melm 656$9      Koha-Auth-Number
198
- 

Return to bug 9972