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

(-)a/C4/Search.pm (+6 lines)
Lines 961-966 sub getIndexes{ Link Here
961
                    'Corporate-name-seealso',
961
                    'Corporate-name-seealso',
962
                    'Country-publication',
962
                    'Country-publication',
963
                    'ctype',
963
                    'ctype',
964
                    'curriculum',
964
                    'date-entered-on-file',
965
                    'date-entered-on-file',
965
                    'Date-of-acquisition',
966
                    'Date-of-acquisition',
966
                    'Date-of-publication',
967
                    'Date-of-publication',
Lines 981-986 sub getIndexes{ Link Here
981
                    'Host-item',
982
                    'Host-item',
982
                    'id-other',
983
                    'id-other',
983
                    'Illustration-code',
984
                    'Illustration-code',
985
                    'Index-term-genre',
986
                    'Index-term-uncontrolled',
984
                    'ISBN',
987
                    'ISBN',
985
                    'isbn',
988
                    'isbn',
986
                    'ISSN',
989
                    'ISSN',
Lines 994-1001 sub getIndexes{ Link Here
994
                    'lc-card',
997
                    'lc-card',
995
                    'LC-card-number',
998
                    'LC-card-number',
996
                    'lcn',
999
                    'lcn',
1000
                    'lex',
997
                    'llength',
1001
                    'llength',
998
                    'ln',
1002
                    'ln',
1003
                    'ln-audio',
1004
                    'ln-subtitle',
999
                    'Local-classification',
1005
                    'Local-classification',
1000
                    'Local-number',
1006
                    'Local-number',
1001
                    'Match-heading',
1007
                    '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 1251-1253 item Item Link Here
1251
1251
1252
Host-Item-Number 1=8911
1252
Host-Item-Number 1=8911
1253
hi Host-Item-Number
1253
hi Host-Item-Number
1254
1255
Index-term-uncontrolled 1=9653
1256
itu Index-term-uncontrolled
1257
1258
Index-term-genre 1=9655
1259
itg Index-term-genre
1260
1261
ln-audio 1=9906
1262
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 193-198 Link Here
193
  <!--record.abs line 73: melm 041$j      ln-->
194
  <!--record.abs line 73: melm 041$j      ln-->
194
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="j">
195
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="j">
195
    <target_index>ln:w</target_index>
196
    <target_index>ln:w</target_index>
197
    <target_index>ln-subtitle:w</target_index>
196
  </index_subfields>
198
  </index_subfields>
197
  <!--record.abs line 74: melm 043        Code-geographic-->
199
  <!--record.abs line 74: melm 043        Code-geographic-->
198
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="043">
200
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="043">
Lines 551-556 Link Here
551
  </index_data_field>
553
  </index_data_field>
552
  <!--record.abs line 153: melm 521$a      lex:n-->
554
  <!--record.abs line 153: melm 521$a      lex:n-->
553
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
555
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
556
    <target_index>lex:w</target_index>
557
    <target_index>lex:p</target_index>
554
    <target_index>lex:n</target_index>
558
    <target_index>lex:n</target_index>
555
  </index_subfields>
559
  </index_subfields>
556
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
560
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
Lines 688-693 Link Here
688
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
692
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
689
    <target_index>Koha-Auth-Number:w</target_index>
693
    <target_index>Koha-Auth-Number:w</target_index>
690
  </index_subfields>
694
  </index_subfields>
695
  <!--melm 653$a      Index-term-uncontrolled    -->
696
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="a">
697
    <target_index>Index-term-uncontrolled:w</target_index>
698
    <target_index>Index-term-uncontrolled:p</target_index>
699
    <target_index>Subject:w</target_index>
700
    <target_index>Subject:p</target_index>
701
  </index_subfields>
691
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
702
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
692
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
703
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
693
    <target_index>Koha-Auth-Number:w</target_index>
704
    <target_index>Koha-Auth-Number:w</target_index>
Lines 706-711 Link Here
706
    <target_index>Subject:w</target_index>
717
    <target_index>Subject:w</target_index>
707
    <target_index>Subject:p</target_index>
718
    <target_index>Subject:p</target_index>
708
  </index_data_field>
719
  </index_data_field>
720
  <!--melm 655$a      Index-term-genre    -->
721
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="a">
722
    <target_index>Index-term-genre:w</target_index>
723
    <target_index>Index-term-genre:p</target_index>
724
    <target_index>Subject:w</target_index>
725
    <target_index>Subject:p</target_index>
726
  </index_subfields>
709
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
727
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
710
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
728
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
711
    <target_index>Koha-Auth-Number:w</target_index>
729
    <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 188-194 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
188
    </xslo:for-each>
188
    </xslo:for-each>
189
    <xslo:for-each select="marc:subfield">
189
    <xslo:for-each select="marc:subfield">
190
      <xslo:if test="contains('j', @code)">
190
      <xslo:if test="contains('j', @code)">
191
        <z:index name="ln:w">
191
        <z:index name="ln:w ln-subtitle:w">
192
          <xslo:value-of select="."/>
192
          <xslo:value-of select="."/>
193
        </z:index>
193
        </z:index>
194
      </xslo:if>
194
      </xslo:if>
Lines 451-457 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
451
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='521']">
451
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='521']">
452
    <xslo:for-each select="marc:subfield">
452
    <xslo:for-each select="marc:subfield">
453
      <xslo:if test="contains('a', @code)">
453
      <xslo:if test="contains('a', @code)">
454
        <z:index name="lex:n">
454
        <z:index name="lex:w lex:p lex:n">
455
          <xslo:value-of select="."/>
455
          <xslo:value-of select="."/>
456
        </z:index>
456
        </z:index>
457
      </xslo:if>
457
      </xslo:if>
Lines 594-599 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
594
  </xslo:template>
594
  </xslo:template>
595
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
595
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
596
    <xslo:for-each select="marc:subfield">
596
    <xslo:for-each select="marc:subfield">
597
      <xslo:if test="contains('a', @code)">
598
        <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p">
599
          <xslo:value-of select="."/>
600
        </z:index>
601
      </xslo:if>
602
    </xslo:for-each>
603
    <xslo:for-each select="marc:subfield">
597
      <xslo:if test="contains('9', @code)">
604
      <xslo:if test="contains('9', @code)">
598
        <z:index name="Koha-Auth-Number:w">
605
        <z:index name="Koha-Auth-Number:w">
599
          <xslo:value-of select="."/>
606
          <xslo:value-of select="."/>
Lines 612-617 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
612
  </xslo:template>
619
  </xslo:template>
613
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
620
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
614
    <xslo:for-each select="marc:subfield">
621
    <xslo:for-each select="marc:subfield">
622
      <xslo:if test="contains('a', @code)">
623
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
624
          <xslo:value-of select="."/>
625
        </z:index>
626
      </xslo:if>
627
    </xslo:for-each>
628
    <xslo:for-each select="marc:subfield">
615
      <xslo:if test="contains('9', @code)">
629
      <xslo:if test="contains('9', @code)">
616
        <z:index name="Koha-Auth-Number:w">
630
        <z:index name="Koha-Auth-Number:w">
617
          <xslo:value-of select="."/>
631
          <xslo:value-of select="."/>
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-4 / +5 lines)
Lines 75-85 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$h      language-original
81
melm 041$h      language-original
82
melm 041$j      ln
82
melm 041$j      ln,ln-subtitle:w
83
melm 043        Code-geographic
83
melm 043        Code-geographic
84
#melm 046       pubdate
84
#melm 046       pubdate
85
melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
85
melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
Lines 159-165 melm 505$t Title Link Here
159
melm 505        Note:w,Note:p
159
melm 505        Note:w,Note:p
160
melm 510        Indexed-by
160
melm 510        Indexed-by
161
melm 520        Abstract:w,Abstract:p
161
melm 520        Abstract:w,Abstract:p
162
melm 521$a      lex:n
162
melm 521$a      lex:w,lex:p,lex:n
163
melm 526$c      arl,arl:n
163
melm 526$c      arl,arl:n
164
melm 526$d      arp,arp:n
164
melm 526$d      arp,arp:n
165
#melm 533$d     pubdate,pubdate:s
165
#melm 533$d     pubdate,pubdate:s
Lines 189-198 melm 651$9 Koha-Auth-Number Link Here
189
melm 651        Name-geographic,Subject,Subject:p
189
melm 651        Name-geographic,Subject,Subject:p
190
melm 652$9      Koha-Auth-Number
190
melm 652$9      Koha-Auth-Number
191
#melm 652       subject-heading,subject-heading:p
191
#melm 652       subject-heading,subject-heading:p
192
melm 653$a      Index-term-uncontrolled:w,Index-term-uncontrolled:p,Subject,Subject:p
192
melm 653$9      Koha-Auth-Number
193
melm 653$9      Koha-Auth-Number
193
melm 653        Subject,Subject:p
194
melm 653        Subject,Subject:p
194
melm 654$9      Koha-Auth-Number
195
melm 654$9      Koha-Auth-Number
195
melm 654        Subject,Subject:p
196
melm 654        Subject,Subject:p
197
melm 655$a      Index-term-genre:w,Index-term-genre:p,Subject,Subject:p
196
melm 655$9      Koha-Auth-Number
198
melm 655$9      Koha-Auth-Number
197
melm 655        Subject,Subject:p
199
melm 655        Subject,Subject:p
198
melm 656$9      Koha-Auth-Number
200
melm 656$9      Koha-Auth-Number
199
- 

Return to bug 9972