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

(-)a/C4/Search.pm (+4 lines)
Lines 953-958 sub getIndexes{ Link Here
953
                    'Corporate-name-see',
953
                    'Corporate-name-see',
954
                    'Corporate-name-seealso',
954
                    'Corporate-name-seealso',
955
                    'ctype',
955
                    'ctype',
956
                    'curriculum',
956
                    'date-entered-on-file',
957
                    'date-entered-on-file',
957
                    'Date-of-acquisition',
958
                    'Date-of-acquisition',
958
                    'Date-of-publication',
959
                    'Date-of-publication',
Lines 972-977 sub getIndexes{ Link Here
972
                    'Host-item',
973
                    'Host-item',
973
                    'id-other',
974
                    'id-other',
974
                    'Illustration-code',
975
                    'Illustration-code',
976
                    'Index-term-genre',
977
                    'Index-term-uncontrolled',
975
                    'ISBN',
978
                    'ISBN',
976
                    'isbn',
979
                    'isbn',
977
                    'ISSN',
980
                    'ISSN',
Lines 984-989 sub getIndexes{ Link Here
984
                    'lc-card',
987
                    'lc-card',
985
                    'LC-card-number',
988
                    'LC-card-number',
986
                    'lcn',
989
                    'lcn',
990
                    'lex',
987
                    'llength',
991
                    'llength',
988
                    'ln',
992
                    'ln',
989
                    'Local-classification',
993
                    'Local-classification',
(-)a/etc/zebradb/biblios/etc/bib1.att (+2 lines)
Lines 291-293 att 9013 arp Link Here
291
att 9520    Item
291
att 9520    Item
292
# Curriculum
292
# Curriculum
293
att 9658    curriculum
293
att 9658    curriculum
294
att 9653    Index-term-uncontrolled
295
att 9655    Index-term-genre
(-)a/etc/zebradb/ccl.properties (+6 lines)
Lines 1173-1175 item Item Link Here
1173
1173
1174
Host-Item-Number 1=8911
1174
Host-Item-Number 1=8911
1175
hi Host-Item-Number
1175
hi Host-Item-Number
1176
1177
Index-term-uncontrolled 1=9653
1178
itu Index-term-uncontrolled
1179
1180
Index-term-genre 1=9655
1181
itg Index-term-genre
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+16 lines)
Lines 547-552 Link Here
547
  </index_data_field>
547
  </index_data_field>
548
  <!--record.abs line 153: melm 521$a      lex:n-->
548
  <!--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">
549
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
550
    <target_index>lex:w</target_index>
551
    <target_index>lex:p</target_index>
550
    <target_index>lex:n</target_index>
552
    <target_index>lex:n</target_index>
551
  </index_subfields>
553
  </index_subfields>
552
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
554
  <!--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">
686
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
685
    <target_index>Koha-Auth-Number:w</target_index>
687
    <target_index>Koha-Auth-Number:w</target_index>
686
  </index_subfields>
688
  </index_subfields>
689
  <!--melm 653$a      Index-term-genre    -->
690
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="a">
691
    <target_index>Index-term-genre:w</target_index>
692
    <target_index>Index-term-genre:p</target_index>
693
    <target_index>Subject:w</target_index>
694
    <target_index>Subject:p</target_index>
695
  </index_subfields> 
687
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
696
  <!--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">
697
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
689
    <target_index>Koha-Auth-Number:w</target_index>
698
    <target_index>Koha-Auth-Number:w</target_index>
Lines 702-707 Link Here
702
    <target_index>Subject:w</target_index>
711
    <target_index>Subject:w</target_index>
703
    <target_index>Subject:p</target_index>
712
    <target_index>Subject:p</target_index>
704
  </index_data_field>
713
  </index_data_field>
714
  <!--melm 655$a      Index-term-uncontrolled    -->
715
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="a">
716
    <target_index>Index-term-uncontrolled:w</target_index>
717
    <target_index>Index-term-uncontrolled:p</target_index>
718
    <target_index>Subject:w</target_index>
719
    <target_index>Subject:p</target_index>
720
  </index_subfields>
705
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
721
  <!--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">
722
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
707
    <target_index>Koha-Auth-Number:w</target_index>
723
    <target_index>Koha-Auth-Number:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-1 / +15 lines)
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-genre:w Index-term-genre: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-uncontrolled:w Index-term-uncontrolled: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 (-2 / +3 lines)
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