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

(-)a/C4/Search.pm (+6 lines)
Lines 1094-1102 sub getIndexes{ Link Here
1094
                    'Subject-subdivision',
1094
                    'Subject-subdivision',
1095
                    'Summary',
1095
                    'Summary',
1096
                    'Suppress',
1096
                    'Suppress',
1097
                    'su-chrono',
1098
                    'su-corp',
1099
                    'su-conf',
1097
                    'su-geo',
1100
                    'su-geo',
1101
                    'su-form',
1102
                    'su-genre',
1098
                    'su-na',
1103
                    'su-na',
1099
                    'su-to',
1104
                    'su-to',
1105
                    'su-ti',
1100
                    'su-ut',
1106
                    'su-ut',
1101
                    'ut',
1107
                    'ut',
1102
                    'Term-genre-form',
1108
                    'Term-genre-form',
(-)a/etc/zebradb/biblios/etc/bib1.att (-2 / +2 lines)
Lines 142-149 att 1071 Section-heading Link Here
142
att 1072    Subject-GOO
142
att 1072    Subject-GOO
143
att 1073    Subject-name-conference
143
att 1073    Subject-name-conference
144
att 1074    Subject-name-corporate
144
att 1074    Subject-name-corporate
145
att 1075    Subject-genre/form
145
att 1075    Subject-genre-form
146
att 1076    Subject-name-gerographical
146
att 1076    Subject-name-geographical
147
att 1077    Subject-chronological
147
att 1077    Subject-chronological
148
att 1078    Subject-title
148
att 1078    Subject-title
149
att 1079    Subject-topical
149
att 1079    Subject-topical
(-)a/etc/zebradb/ccl.properties (-8 / +35 lines)
Lines 625-633 rcn Record-control-number Link Here
625
#                                                           655, 656, 657, 69X
625
#                                                           655, 656, 657, 69X
626
Subject 1=21
626
Subject 1=21
627
su Subject
627
su Subject
628
su-to Subject
628
629
su-geo Subject
630
su-ut Subject
631
#Subject-BDI            23  Subject headings from
629
#Subject-BDI            23  Subject headings from
632
#                           Bibliotek Dokumentasjon
630
#                           Bibliotek Dokumentasjon
633
#                           Informasjon -- a controlled
631
#                           Informasjon -- a controlled
Lines 676-682 su-ut Subject Link Here
676
#                           appears in a subject heading.
674
#                           appears in a subject heading.
677
Subject-name-personal 1=1009
675
Subject-name-personal 1=1009
678
su-na 1=1009
676
su-na 1=1009
679
#Subject-name-personal
677
680
#Subject-PA             26  Subject headings from           600i2, 610i2,
678
#Subject-PA             26  Subject headings from           600i2, 610i2,
681
#                           Thesaurus of Psychological      611i2, 630i2,
679
#                           Thesaurus of Psychological      611i2, 630i2,
682
#                           Index Terms -- maintained       650i2, 651i2
680
#                           Index Terms -- maintained       650i2, 651i2
Lines 722-732 su-na 1=1009 Link Here
722
720
723
#Subject-subdivision    47  An extension to a subject       6XX$x, 6XX$y,
721
#Subject-subdivision    47  An extension to a subject       6XX$x, 6XX$y,
724
#                           heading indicating the form,    6XX$z
722
#                           heading indicating the form,    6XX$z
725
#                           place, period of time treated,
723
#                           place, period of time treated,  UNIMARC 6XX$j
726
#                           or aspect of the subject
724
#                           or aspect of the subject
727
#                           treated.
725
#                           treated.
728
Subject-subdivision 1=47
726
Subject-subdivision 1=47
729
727
728
#Subject-name-conference 1073                              MARC21 611 ; UNIMARC 601
729
Subject-name-conference 1=1073
730
su-conf Subject-name-conference
731
732
#Subject-name-corporate 1074                               MARC21 610 ; UNIMARC 601
733
Subject-name-corporate 1=1074
734
su-corp Subject-name-corporate
735
736
#Subject-genre-form 1075                                   MARC21 610 ; UNIMARC 608
737
#                                                          UNIMARC 6XX$j
738
Subject-genre-form 1=1075
739
su-genre Subject-genre-form
740
su-form Subject-genre-form
741
742
#Subject-geographical 1076                                 MARC21 651 ; UNIMARC 607
743
#                                                          MARC21 AND UNIMARC 6XX$y
744
Subject-geographical 1=1076
745
su-geo Subject-geographical
746
747
#Subject-chronological 1077                                MARC21 and UNIMARC 6XX$z
748
Subject-chronological 1=1077
749
su-chrono Subject-chronological
750
751
#Subject-title 1078                                        MARC21 630 ; UNIMARC 605
752
Subject-title 1=1078
753
su-ut Subject-title
754
su-ti Subject-title
755
756
#Subject-topical 1079                                      MARC21 650 ; UNIMARC 606
757
Subject-topical 1=1079
758
su-to Subject-topical
759
730
#Title                   4  A word, phrase, character,      130, 21X-24X, 440,
760
#Title                   4  A word, phrase, character,      130, 21X-24X, 440,
731
#                           or group of characters,         490, 730, 740, 830,
761
#                           or group of characters,         490, 730, 740, 830,
732
#                           normally appearing in an item,  840, subfield $t
762
#                           normally appearing in an item,  840, subfield $t
Lines 1218-1226 sort3 7=3 Link Here
1218
#corporateName 1=2
1248
#corporateName 1=2
1219
#conferenceName 1=3
1249
#conferenceName 1=3
1220
#uniformTitle 1=6
1250
#uniformTitle 1=6
1221
#geographicName 1=58
1222
#topicalSubject 1=1079
1223
#genreForm 1=1075
1224
1251
1225
###################################################
1252
###################################################
1226
# Rules for a few GILS fields
1253
# Rules for a few GILS fields
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (-85 / +620 lines)
Lines 1155-1302 Link Here
1155
    <target_index>Title:p</target_index>
1155
    <target_index>Title:p</target_index>
1156
  </index_data_field>
1156
  </index_data_field>
1157
  <!--==== 6XX BLOCK OF SUBJECTS ====-->
1157
  <!--==== 6XX BLOCK OF SUBJECTS ====-->
1158
  <!--600 - Personal name-->
1158
  <!--For all 6XX : index $j,$x,$y,$z in several indexes in addition to the specific index for their 6XX field:-->
1159
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="a">
1159
  <!--# 6XX$j : Genre/form                  : indexed in Subject, Subject-subdivision, Subject-genre-form-->
1160
    <target_index>Personal-name:w</target_index>
1160
  <!--# 6XX$x : Subject                     : indexed in Subject, Subject-subdivision (could be topical subject or genre/form subject, so don't index in Subject-topical)-->
1161
    <target_index>Personal-name:p</target_index>
1161
  <!--# 6XX$y : Geographical subject        : indexed in Subject, Subject-subdivision, Subject-name-geographical-->
1162
    <target_index>Subject:w</target_index>
1162
  <!--# 6XX$z : Chronological subject       : indexed in Subject, Subject-subdivision, Subject-chronological-->
1163
    <target_index>Subject:p</target_index>
1163
  <!--Index 6XX$9 only in Koha-Auth-Number-->
1164
  </index_subfields>
1164
  <!--record.abs line 407: melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1165
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="9">
1165
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="9">
1166
    <target_index>Koha-Auth-Number:w</target_index>
1166
    <target_index>Koha-Auth-Number:w</target_index>
1167
    <target_index>Koha-Auth-Number:n</target_index>
1167
    <target_index>Koha-Auth-Number:n</target_index>
1168
  </index_subfields>
1168
  </index_subfields>
1169
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="600">
1169
  <!--record.abs line 408: melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1170
    <target_index>Subject:w</target_index>
1171
    <target_index>Subject:p</target_index>
1172
  </index_data_field>
1173
  <!--601 - Corporate name-->
1174
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="a">
1175
    <target_index>Corporate-name:w</target_index>
1176
    <target_index>Conference-name:w</target_index>
1177
    <target_index>Corporate-name:p</target_index>
1178
    <target_index>Conference-name:p</target_index>
1179
  </index_subfields>
1180
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="9">
1170
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="9">
1181
    <target_index>Koha-Auth-Number:w</target_index>
1171
    <target_index>Koha-Auth-Number:w</target_index>
1182
    <target_index>Koha-Auth-Number:n</target_index>
1172
    <target_index>Koha-Auth-Number:n</target_index>
1183
  </index_subfields>
1173
  </index_subfields>
1184
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="601">
1174
  <!--record.abs line 409: melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1185
    <target_index>Subject:w</target_index>
1186
    <target_index>Subject:p</target_index>
1187
  </index_data_field>
1188
  <!--602 - Familiy name-->
1189
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="a">
1190
    <target_index>Personal-name:w</target_index>
1191
    <target_index>Personal-name:p</target_index>
1192
  </index_subfields>
1193
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="9">
1175
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="9">
1194
    <target_index>Koha-Auth-Number:w</target_index>
1176
    <target_index>Koha-Auth-Number:w</target_index>
1195
    <target_index>Koha-Auth-Number:n</target_index>
1177
    <target_index>Koha-Auth-Number:n</target_index>
1196
  </index_subfields>
1178
  </index_subfields>
1197
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="602">
1179
  <!--record.abs line 410: melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1198
    <target_index>Subject:w</target_index>
1199
    <target_index>Subject:p</target_index>
1200
  </index_data_field>
1201
  <!--604 - Title and author-->
1202
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="9">
1180
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="9">
1203
    <target_index>Koha-Auth-Number:w</target_index>
1181
    <target_index>Koha-Auth-Number:w</target_index>
1204
    <target_index>Koha-Auth-Number:n</target_index>
1182
    <target_index>Koha-Auth-Number:n</target_index>
1205
  </index_subfields>
1183
  </index_subfields>
1206
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="604">
1184
  <!--record.abs line 411: melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1207
    <target_index>Subject:w</target_index>
1208
    <target_index>Subject:p</target_index>
1209
  </index_data_field>
1210
   <!--605 - Title-->
1211
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="9">
1185
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="9">
1212
    <target_index>Koha-Auth-Number:w</target_index>
1186
    <target_index>Koha-Auth-Number:w</target_index>
1213
    <target_index>Koha-Auth-Number:n</target_index>
1187
    <target_index>Koha-Auth-Number:n</target_index>
1214
  </index_subfields>
1188
  </index_subfields>
1215
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="605">
1189
  <!--record.abs line 412: melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1216
    <target_index>Subject:w</target_index>
1217
    <target_index>Subject:p</target_index>
1218
  </index_data_field>
1219
  <!--606 - Topic-->
1220
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="9">
1190
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="9">
1221
    <target_index>Koha-Auth-Number:w</target_index>
1191
    <target_index>Koha-Auth-Number:w</target_index>
1222
    <target_index>Koha-Auth-Number:n</target_index>
1192
    <target_index>Koha-Auth-Number:n</target_index>
1223
  </index_subfields>
1193
  </index_subfields>
1224
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="606">
1194
  <!--record.abs line 413: melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1225
    <target_index>Subject:w</target_index>
1226
    <target_index>Subject:p</target_index>
1227
  </index_data_field>
1228
  <!--607 - Geographic-->
1229
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="9">
1195
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="9">
1230
    <target_index>Koha-Auth-Number:w</target_index>
1196
    <target_index>Koha-Auth-Number:w</target_index>
1231
    <target_index>Koha-Auth-Number:n</target_index>
1197
    <target_index>Koha-Auth-Number:n</target_index>
1232
  </index_subfields>
1198
  </index_subfields>
1233
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="607">
1199
  <!--record.abs line 414: melm 608$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1234
    <target_index>Subject:w</target_index>
1235
    <target_index>Subject:p</target_index>
1236
  </index_data_field>
1237
  <!--608 - Form-Genre-->
1238
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="9">
1200
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="9">
1239
    <target_index>Koha-Auth-Number:w</target_index>
1201
    <target_index>Koha-Auth-Number:w</target_index>
1240
    <target_index>Koha-Auth-Number:n</target_index>
1202
    <target_index>Koha-Auth-Number:n</target_index>
1241
  </index_subfields>
1203
  </index_subfields>
1242
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="608">
1204
  <!--record.abs line 415: melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1243
    <target_index>Subject:w</target_index>
1205
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="610" subfields="9">
1244
    <target_index>Subject:p</target_index>
1245
  </index_data_field>
1246
  <!--610 - Free-->
1247
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="9">
1248
    <target_index>Koha-Auth-Number:w</target_index>
1206
    <target_index>Koha-Auth-Number:w</target_index>
1249
    <target_index>Koha-Auth-Number:n</target_index>
1207
    <target_index>Koha-Auth-Number:n</target_index>
1250
  </index_subfields>
1208
  </index_subfields>
1251
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="610">
1209
  <!--record.abs line 416: melm 615$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1252
    <target_index>Subject:w</target_index>
1253
    <target_index>Subject:p</target_index>
1254
  </index_data_field>
1255
  <!--615 - Category-->
1256
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="615" subfields="9">
1210
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="615" subfields="9">
1257
    <target_index>Koha-Auth-Number:w</target_index>
1211
    <target_index>Koha-Auth-Number:w</target_index>
1258
    <target_index>Koha-Auth-Number:n</target_index>
1212
    <target_index>Koha-Auth-Number:n</target_index>
1259
  </index_subfields>
1213
  </index_subfields>
1260
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="615">
1214
  <!--record.abs line 417: melm 616$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1261
    <target_index>Subject:w</target_index>
1262
    <target_index>Subject:p</target_index>
1263
  </index_data_field>
1264
  <!--616 - Trademark-->
1265
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="9">
1215
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="9">
1266
    <target_index>Koha-Auth-Number:w</target_index>
1216
    <target_index>Koha-Auth-Number:w</target_index>
1267
    <target_index>Koha-Auth-Number:n</target_index>
1217
    <target_index>Koha-Auth-Number:n</target_index>
1268
  </index_subfields>
1218
  </index_subfields>
1269
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="616">
1219
  <!--record.abs line 418: melm 617$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1270
    <target_index>Subject:w</target_index>
1271
    <target_index>Subject:p</target_index>
1272
  </index_data_field>
1273
  <!--617 - Hierarchical geographical name-->
1274
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="617" subfields="9">
1220
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="617" subfields="9">
1275
    <target_index>Koha-Auth-Number:w</target_index>
1221
    <target_index>Koha-Auth-Number:w</target_index>
1276
    <target_index>Koha-Auth-Number:n</target_index>
1222
    <target_index>Koha-Auth-Number:n</target_index>
1277
  </index_subfields>
1223
  </index_subfields>
1278
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="617">
1224
  <!--record.abs line 419: melm 620$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1279
    <target_index>Subject:w</target_index>
1280
    <target_index>Subject:p</target_index>
1281
  </index_data_field>
1282
  <!--620 - Place and date access-->
1283
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="620" subfields="9">
1225
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="620" subfields="9">
1284
    <target_index>Koha-Auth-Number:w</target_index>
1226
    <target_index>Koha-Auth-Number:w</target_index>
1285
    <target_index>Koha-Auth-Number:n</target_index>
1227
    <target_index>Koha-Auth-Number:n</target_index>
1286
  </index_subfields>
1228
  </index_subfields>
1287
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="620">
1229
  <!--record.abs line 420: melm 621$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1288
    <target_index>Subject:w</target_index>
1289
    <target_index>Subject:p</target_index>
1290
  </index_data_field>
1291
  <!--621 - Place and date of origin-->
1292
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="621" subfields="9">
1230
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="621" subfields="9">
1293
    <target_index>Koha-Auth-Number:w</target_index>
1231
    <target_index>Koha-Auth-Number:w</target_index>
1294
    <target_index>Koha-Auth-Number:n</target_index>
1232
    <target_index>Koha-Auth-Number:n</target_index>
1295
  </index_subfields>
1233
  </index_subfields>
1296
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="621">
1234
  <!--record.abs line 426: melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1235
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="603" subfields="9">
1236
    <target_index>Koha-Auth-Number:w</target_index>
1237
    <target_index>Koha-Auth-Number:n</target_index>
1238
  </index_subfields>
1239
  <!--record.abs line 427: melm 630$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1240
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="630" subfields="9">
1241
    <target_index>Koha-Auth-Number:w</target_index>
1242
    <target_index>Koha-Auth-Number:n</target_index>
1243
  </index_subfields>
1244
  <!--record.abs line 428: melm 631$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1245
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="631" subfields="9">
1246
    <target_index>Koha-Auth-Number:w</target_index>
1247
    <target_index>Koha-Auth-Number:n</target_index>
1248
  </index_subfields>
1249
  <!--record.abs line 429: melm 632$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1250
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="632" subfields="9">
1251
    <target_index>Koha-Auth-Number:w</target_index>
1252
    <target_index>Koha-Auth-Number:n</target_index>
1253
  </index_subfields>
1254
  <!--record.abs line 430: melm 633$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1255
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="633" subfields="9">
1256
    <target_index>Koha-Auth-Number:w</target_index>
1257
    <target_index>Koha-Auth-Number:n</target_index>
1258
  </index_subfields>
1259
  <!--record.abs line 431: melm 634$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1260
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="634" subfields="9">
1261
    <target_index>Koha-Auth-Number:w</target_index>
1262
    <target_index>Koha-Auth-Number:n</target_index>
1263
  </index_subfields>
1264
  <!--record.abs line 432: melm 635$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1265
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="635" subfields="9">
1266
    <target_index>Koha-Auth-Number:w</target_index>
1267
    <target_index>Koha-Auth-Number:n</target_index>
1268
  </index_subfields>
1269
  <!--record.abs line 433: melm 636$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1270
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="636" subfields="9">
1271
    <target_index>Koha-Auth-Number:w</target_index>
1272
    <target_index>Koha-Auth-Number:n</target_index>
1273
  </index_subfields>
1274
  <!--600 : Personal name (as subject) see Marc21 600-->
1275
  <!--indexing a,b,d,g,t (even if t is said to be not used)-->
1276
  <!--not indexing c (additional elements),f (dates),p (address/affiliation),2,3,5-->
1277
  <!--indexing specifically $j,$x,$y,$z-->
1278
  <!--600$adbgt    Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p-->
1279
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="abdgt">
1280
    <target_index>Personal-name:w</target_index>
1281
    <target_index>Personal-name:p</target_index>
1282
    <target_index>Subject-name-personal:w</target_index>
1283
    <target_index>Subject-name-personal:p</target_index>
1297
    <target_index>Subject:w</target_index>
1284
    <target_index>Subject:w</target_index>
1298
    <target_index>Subject:p</target_index>
1285
    <target_index>Subject:p</target_index>
1299
  </index_data_field>
1286
  </index_subfields>
1287
  <!--600$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-personal:w,Subject-name-personal:p-->
1288
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="j">
1289
    <target_index>Subject:w</target_index>
1290
    <target_index>Subject:p</target_index>
1291
    <target_index>Subject-subdivision:w</target_index>
1292
    <target_index>Subject-subdivision:p</target_index>
1293
    <target_index>Subject-genre-form:w</target_index>
1294
    <target_index>Subject-genre-form:p</target_index>
1295
    <target_index>Subject-name-personal:w</target_index>
1296
    <target_index>Subject-name-personal:p</target_index>
1297
  </index_subfields>
1298
  <!--600$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-personal:w,Subject-name-personal:p-->
1299
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="x">
1300
    <target_index>Subject:w</target_index>
1301
    <target_index>Subject:p</target_index>
1302
    <target_index>Subject-subdivision:w</target_index>
1303
    <target_index>Subject-subdivision:p</target_index>
1304
    <target_index>Subject-name-personal:w</target_index>
1305
    <target_index>Subject-name-personal:p</target_index>
1306
  </index_subfields>
1307
  <!--600$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-name-personal:w,Subject-name-personal:p-->
1308
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="y">
1309
    <target_index>Subject:w</target_index>
1310
    <target_index>Subject:p</target_index>
1311
    <target_index>Subject-subdivision:w</target_index>
1312
    <target_index>Subject-subdivision:p</target_index>
1313
    <target_index>Subject-name-geographical:w</target_index>
1314
    <target_index>Subject-name-geographical:p</target_index>
1315
    <target_index>Subject-name-personal:w</target_index>
1316
    <target_index>Subject-name-personal:p</target_index>
1317
  </index_subfields>
1318
  <!--600$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-personal:w,Subject-name-personal:p-->
1319
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="600" subfields="z">
1320
    <target_index>Subject:w</target_index>
1321
    <target_index>Subject:p</target_index>
1322
    <target_index>Subject-subdivision:w</target_index>
1323
    <target_index>Subject-subdivision:p</target_index>
1324
    <target_index>Subject-chronological:w</target_index>
1325
    <target_index>Subject-chronological:p</target_index>
1326
    <target_index>Subject-name-personal:w</target_index>
1327
    <target_index>Subject-name-personal:p</target_index>
1328
  </index_subfields>
1329
  <!--601 : Corporate or meeting name used as a subject // see Marc21 610 & 611-->
1330
  <!--indicators 0X = Corporate ; 1X = Meeting-->
1331
  <!--indexing a,b,c,d,e,f,g,h,t (even if t is said to be not used)-->
1332
  <!--not indexing 2,3,5-->
1333
  <!--indexing specifically $j,$x,$y,$z-->
1334
  <!--d,e,f only used for Meetings-->
1335
  <!--FIXME : index separately corporate and meeting in DOM indexing?-->
1336
  <!--601$abcdefght    Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p,Subject,Subject:p-->
1337
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="a">
1338
    <target_index>Corporate-name:w</target_index>
1339
    <target_index>Corporate-name:p</target_index>
1340
    <target_index>Conference-name:w</target_index>
1341
    <target_index>Conference-name:p</target_index>
1342
    <target_index>Subject-name-conference:w</target_index>
1343
    <target_index>Subject-name-conference:p</target_index>
1344
    <target_index>Subject-name-corporate:w</target_index>
1345
    <target_index>Subject-name-corporate:p</target_index>
1346
    <target_index>Subject:w</target_index>
1347
    <target_index>Subject:p</target_index>
1348
  </index_subfields>
1349
  <!--601$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p-->
1350
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="j">
1351
    <target_index>Subject:w</target_index>
1352
    <target_index>Subject:p</target_index>
1353
    <target_index>Subject-subdivision:w</target_index>
1354
    <target_index>Subject-subdivision:p</target_index>
1355
    <target_index>Subject-genre-form:w</target_index>
1356
    <target_index>Subject-genre-form:p</target_index>
1357
    <target_index>Subject-name-conference:w</target_index>
1358
    <target_index>Subject-name-conference:p</target_index>
1359
    <target_index>Subject-name-corporate:w</target_index>
1360
    <target_index>Subject-name-corporate:p</target_index>
1361
  </index_subfields>
1362
  <!--601$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p-->
1363
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="x">
1364
    <target_index>Subject:w</target_index>
1365
    <target_index>Subject:p</target_index>
1366
    <target_index>Subject-subdivision:w</target_index>
1367
    <target_index>Subject-subdivision:p</target_index>
1368
    <target_index>Subject-name-conference:w</target_index>
1369
    <target_index>Subject-name-conference:p</target_index>
1370
    <target_index>Subject-name-corporate:w</target_index>
1371
    <target_index>Subject-name-corporate:p</target_index>
1372
  </index_subfields>
1373
  <!--601$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p-->
1374
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="y">
1375
    <target_index>Subject:w</target_index>
1376
    <target_index>Subject:p</target_index>
1377
    <target_index>Subject-subdivision:w</target_index>
1378
    <target_index>Subject-subdivision:p</target_index>
1379
    <target_index>Subject-name-geographical:w</target_index>
1380
    <target_index>Subject-name-geographical:p</target_index>
1381
    <target_index>Subject-name-conference:w</target_index>
1382
    <target_index>Subject-name-conference:p</target_index>
1383
    <target_index>Subject-name-corporate:w</target_index>
1384
    <target_index>Subject-name-corporate:p</target_index>
1385
  </index_subfields>
1386
  <!--601$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-conference:w,Subject-name-conference:p,Subject-name-corporate:w,Subject-name-corporate:p-->
1387
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="601" subfields="z">
1388
    <target_index>Subject:w</target_index>
1389
    <target_index>Subject:p</target_index>
1390
    <target_index>Subject-subdivision:w</target_index>
1391
    <target_index>Subject-subdivision:p</target_index>
1392
    <target_index>Subject-chronological:w</target_index>
1393
    <target_index>Subject-chronological:p</target_index>
1394
    <target_index>Subject-name-conference:w</target_index>
1395
    <target_index>Subject-name-conference:p</target_index>
1396
    <target_index>Subject-name-corporate:w</target_index>
1397
    <target_index>Subject-name-corporate:p</target_index>
1398
  </index_subfields>
1399
  <!--602 : Family name used as a subject // see Marc21 600 3X-->
1400
  <!--indexing a,t (even if t is said to be not used)-->
1401
  <!--not indexing f (dates), 2,3,5-->
1402
  <!--indexing specifically $j,$x,$y,$z-->
1403
  <!--FIXME Create a specific index? For the moment, index in Personal-name-->
1404
  <!--602$at    Subject:w,Subject:p,Subject-name-personal:w,Subject-name-personal:p,Personal-name:w,Personal-name:p-->
1405
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="at">
1406
    <target_index>Personal-name:w</target_index>
1407
    <target_index>Personal-name:p</target_index>
1408
    <target_index>Subject-name-personal:w</target_index>
1409
    <target_index>Subject-name-personal:p</target_index>
1410
    <target_index>Subject:w</target_index>
1411
    <target_index>Subject:p</target_index>
1412
  </index_subfields>
1413
  <!--602$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-personal:w,Subject-name-personal:p-->
1414
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="j">
1415
    <target_index>Subject:w</target_index>
1416
    <target_index>Subject:p</target_index>
1417
    <target_index>Subject-subdivision:w</target_index>
1418
    <target_index>Subject-subdivision:p</target_index>
1419
    <target_index>Subject-genre-form:w</target_index>
1420
    <target_index>Subject-genre-form:p</target_index>
1421
    <target_index>Subject-name-personal:w</target_index>
1422
    <target_index>Subject-name-personal:p</target_index>
1423
  </index_subfields>
1424
  <!--602$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-personal:w,Subject-name-personal:p-->
1425
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="x">
1426
    <target_index>Subject:w</target_index>
1427
    <target_index>Subject:p</target_index>
1428
    <target_index>Subject-subdivision:w</target_index>
1429
    <target_index>Subject-subdivision:p</target_index>
1430
    <target_index>Subject-name-personal:w</target_index>
1431
    <target_index>Subject-name-personal:p</target_index>
1432
  </index_subfields>
1433
  <!--602$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-name-personal:w,Subject-name-personal:p-->
1434
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="y">
1435
    <target_index>Subject:w</target_index>
1436
    <target_index>Subject:p</target_index>
1437
    <target_index>Subject-subdivision:w</target_index>
1438
    <target_index>Subject-subdivision:p</target_index>
1439
    <target_index>Subject-name-geographical:w</target_index>
1440
    <target_index>Subject-name-geographical:p</target_index>
1441
    <target_index>Subject-name-personal:w</target_index>
1442
    <target_index>Subject-name-personal:p</target_index>
1443
  </index_subfields>
1444
  <!--602$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-personal:w,Subject-name-personal:p-->
1445
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="602" subfields="z">
1446
    <target_index>Subject:w</target_index>
1447
    <target_index>Subject:p</target_index>
1448
    <target_index>Subject-subdivision:w</target_index>
1449
    <target_index>Subject-subdivision:p</target_index>
1450
    <target_index>Subject-chronological:w</target_index>
1451
    <target_index>Subject-chronological:p</target_index>
1452
    <target_index>Subject-name-personal:w</target_index>
1453
    <target_index>Subject-name-personal:p</target_index>
1454
  </index_subfields>
1455
  <!--604 : Name and title // see Marc21 600-->
1456
  <!--indexing a,t-->
1457
  <!--not indexing 2,3,5-->
1458
  <!--indexing specifically $j,$x,$y,$z-->
1459
  <!--604$at    Name-and-title,Name-and-title:p,Subject-title:w,Subject-title:p,Personal-name,Personal-name:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p-->
1460
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="at">
1461
    <target_index>Name-and-title:w</target_index>
1462
    <target_index>Name-and-title:p</target_index>
1463
    <target_index>Subject-title:w</target_index>
1464
    <target_index>Subject-title:p</target_index>
1465
    <target_index>Personal-name:w</target_index>
1466
    <target_index>Personal-name:p</target_index>
1467
    <target_index>Subject-name-personal:w</target_index>
1468
    <target_index>Subject-name-personal:p</target_index>
1469
    <target_index>Subject:w</target_index>
1470
    <target_index>Subject:p</target_index>
1471
  </index_subfields>
1472
  <!--604$t    Name-and-title,Name-and-title:p,Subject-title:w,Subject-title:p,Subject-name-personal:w,Subject-name-personal:p,Subject,Subject:p-->
1473
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="t">
1474
    <target_index>Name-and-title:w</target_index>
1475
    <target_index>Name-and-title:p</target_index>
1476
    <target_index>Subject-title:w</target_index>
1477
    <target_index>Subject-title:p</target_index>
1478
    <target_index>Subject-name-personal:w</target_index>
1479
    <target_index>Subject-name-personal:p</target_index>
1480
    <target_index>Subject:w</target_index>
1481
    <target_index>Subject:p</target_index>
1482
  </index_subfields>
1483
  <!--604$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-title:w,Subject-title:p-->
1484
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="j">
1485
    <target_index>Subject:w</target_index>
1486
    <target_index>Subject:p</target_index>
1487
    <target_index>Subject-subdivision:w</target_index>
1488
    <target_index>Subject-subdivision:p</target_index>
1489
    <target_index>Subject-genre-form:w</target_index>
1490
    <target_index>Subject-genre-form:p</target_index>
1491
    <target_index>Subject-title:w</target_index>
1492
    <target_index>Subject-title:p</target_index>
1493
  </index_subfields>
1494
  <!--604$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-title:w,Subject-title:p-->
1495
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="x">
1496
    <target_index>Subject:w</target_index>
1497
    <target_index>Subject:p</target_index>
1498
    <target_index>Subject-subdivision:w</target_index>
1499
    <target_index>Subject-subdivision:p</target_index>
1500
    <target_index>Subject-title:w</target_index>
1501
    <target_index>Subject-title:p</target_index>
1502
  </index_subfields>
1503
  <!--604$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-title:w,Subject-title:p-->
1504
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="y">
1505
    <target_index>Subject:w</target_index>
1506
    <target_index>Subject:p</target_index>
1507
    <target_index>Subject-subdivision:w</target_index>
1508
    <target_index>Subject-subdivision:p</target_index>
1509
    <target_index>Subject-name-geographical:w</target_index>
1510
    <target_index>Subject-name-geographical:p</target_index>
1511
    <target_index>Subject-title:w</target_index>
1512
    <target_index>Subject-title:p</target_index>
1513
  </index_subfields>
1514
  <!--604$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-title:w,Subject-title:p-->
1515
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="604" subfields="z">
1516
    <target_index>Subject:w</target_index>
1517
    <target_index>Subject:p</target_index>
1518
    <target_index>Subject-subdivision:w</target_index>
1519
    <target_index>Subject-subdivision:p</target_index>
1520
    <target_index>Subject-chronological:w</target_index>
1521
    <target_index>Subject-chronological:p</target_index>
1522
    <target_index>Subject-title:w</target_index>
1523
    <target_index>Subject-title:p</target_index>
1524
  </index_subfields>
1525
  <!--605 : Title used as subject // see Marc21 630-->
1526
  <!--indexing all : a,h,i,k,l,m,n,q,r,s,u,w-->
1527
  <!--indexing specifically $j,$x,$y,$z-->
1528
  <!--605$ahiklmnqrsuw    Subject-title:w,Subject-title:p,Subject,Subject:p-->
1529
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="ahiklmnqrsuw">
1530
    <target_index>Subject-title:w</target_index>
1531
    <target_index>Subject-title:p</target_index>
1532
    <target_index>Subject:w</target_index>
1533
    <target_index>Subject:p</target_index>
1534
  </index_subfields>
1535
  <!--605$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-title:w,Subject-title:p-->
1536
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="j">
1537
    <target_index>Subject:w</target_index>
1538
    <target_index>Subject:p</target_index>
1539
    <target_index>Subject-subdivision:w</target_index>
1540
    <target_index>Subject-subdivision:p</target_index>
1541
    <target_index>Subject-genre-form:w</target_index>
1542
    <target_index>Subject-genre-form:p</target_index>
1543
    <target_index>Subject-title:w</target_index>
1544
    <target_index>Subject-title:p</target_index>
1545
  </index_subfields>
1546
  <!--605$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-title:w,Subject-title:p-->
1547
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="x">
1548
    <target_index>Subject:w</target_index>
1549
    <target_index>Subject:p</target_index>
1550
    <target_index>Subject-subdivision:w</target_index>
1551
    <target_index>Subject-subdivision:p</target_index>
1552
    <target_index>Subject-title:w</target_index>
1553
    <target_index>Subject-title:p</target_index>
1554
  </index_subfields>
1555
  <!--605$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-title:w,Subject-title:p-->
1556
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="y">
1557
    <target_index>Subject:w</target_index>
1558
    <target_index>Subject:p</target_index>
1559
    <target_index>Subject-subdivision:w</target_index>
1560
    <target_index>Subject-subdivision:p</target_index>
1561
    <target_index>Subject-name-geographical:w</target_index>
1562
    <target_index>Subject-name-geographical:p</target_index>
1563
    <target_index>Subject-title:w</target_index>
1564
    <target_index>Subject-title:p</target_index>
1565
  </index_subfields>
1566
  <!--605$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-title:w,Subject-title:p-->
1567
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="605" subfields="z">
1568
    <target_index>Subject:w</target_index>
1569
    <target_index>Subject:p</target_index>
1570
    <target_index>Subject-subdivision:w</target_index>
1571
    <target_index>Subject-subdivision:p</target_index>
1572
    <target_index>Subject-chronological:w</target_index>
1573
    <target_index>Subject-chronological:p</target_index>
1574
    <target_index>Subject-title:w</target_index>
1575
    <target_index>Subject-title:p</target_index>
1576
  </index_subfields>
1577
  <!--606 : Topical name used as subject // see Marc21 650-->
1578
  <!--indexing a-->
1579
  <!--indexing specifically $j,$x,$y,$z-->
1580
  <!--606$a    Subject-topical:w,Subject-topical:p,Subject,Subject:p-->
1581
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="a">
1582
    <target_index>Subject-topical:w</target_index>
1583
    <target_index>Subject-topical:p</target_index>
1584
    <target_index>Subject:w</target_index>
1585
    <target_index>Subject:p</target_index>
1586
  </index_subfields>
1587
  <!--606$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-topical:w,Subject-topical:p-->
1588
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="j">
1589
    <target_index>Subject:w</target_index>
1590
    <target_index>Subject:p</target_index>
1591
    <target_index>Subject-subdivision:w</target_index>
1592
    <target_index>Subject-subdivision:p</target_index>
1593
    <target_index>Subject-genre-form:w</target_index>
1594
    <target_index>Subject-genre-form:p</target_index>
1595
    <target_index>Subject-topical:w</target_index>
1596
    <target_index>Subject-topical:p</target_index>
1597
  </index_subfields>
1598
  <!--606$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-topical:w,Subject-topical:p-->
1599
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="x">
1600
    <target_index>Subject:w</target_index>
1601
    <target_index>Subject:p</target_index>
1602
    <target_index>Subject-subdivision:w</target_index>
1603
    <target_index>Subject-subdivision:p</target_index>
1604
    <target_index>Subject-topical:w</target_index>
1605
    <target_index>Subject-topical:p</target_index>
1606
  </index_subfields>
1607
  <!--606$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-topical:w,Subject-topical:p-->
1608
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="y">
1609
    <target_index>Subject:w</target_index>
1610
    <target_index>Subject:p</target_index>
1611
    <target_index>Subject-subdivision:w</target_index>
1612
    <target_index>Subject-subdivision:p</target_index>
1613
    <target_index>Subject-name-geographical:w</target_index>
1614
    <target_index>Subject-name-geographical:p</target_index>
1615
    <target_index>Subject-topical:w</target_index>
1616
    <target_index>Subject-topical:p</target_index>
1617
  </index_subfields>
1618
  <!--606$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-topical:w,Subject-topical:p-->
1619
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="606" subfields="z">
1620
    <target_index>Subject:w</target_index>
1621
    <target_index>Subject:p</target_index>
1622
    <target_index>Subject-subdivision:w</target_index>
1623
    <target_index>Subject-subdivision:p</target_index>
1624
    <target_index>Subject-chronological:w</target_index>
1625
    <target_index>Subject-chronological:p</target_index>
1626
    <target_index>Subject-topical:w</target_index>
1627
    <target_index>Subject-topical:p</target_index>
1628
  </index_subfields>
1629
  <!--607 : Geographical name used as subject // see Marc21 651-->
1630
  <!--indexing a-->
1631
  <!--indexing specificly $j,$x,$y,$z-->
1632
  <!--607$a    Name-geographic:w,Name-geographic:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject,Subject:p-->
1633
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="a">
1634
    <target_index>Name-geographic:w</target_index>
1635
    <target_index>Name-geographic:p</target_index>
1636
    <target_index>Subject-name-geographical:w</target_index>
1637
    <target_index>Subject-name-geographical:p</target_index>
1638
    <target_index>Subject:w</target_index>
1639
    <target_index>Subject:p</target_index>
1640
  </index_subfields>
1641
  <!--607$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p,Subject-name-geographical:w,Subject-name-geographical:p-->
1642
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="j">
1643
    <target_index>Subject:w</target_index>
1644
    <target_index>Subject:p</target_index>
1645
    <target_index>Subject-subdivision:w</target_index>
1646
    <target_index>Subject-subdivision:p</target_index>
1647
    <target_index>Subject-genre-form:w</target_index>
1648
    <target_index>Subject-genre-form:p</target_index>
1649
    <target_index>Subject-name-geographical:w</target_index>
1650
    <target_index>Subject-name-geographical:p</target_index>
1651
  </index_subfields>
1652
  <!--607$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p-->
1653
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="x">
1654
    <target_index>Subject:w</target_index>
1655
    <target_index>Subject:p</target_index>
1656
    <target_index>Subject-subdivision:w</target_index>
1657
    <target_index>Subject-subdivision:p</target_index>
1658
    <target_index>Subject-name-geographical:w</target_index>
1659
    <target_index>Subject-name-geographical:p</target_index>
1660
  </index_subfields>
1661
  <!--607$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p-->
1662
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="y">
1663
    <target_index>Subject:w</target_index>
1664
    <target_index>Subject:p</target_index>
1665
    <target_index>Subject-subdivision:w</target_index>
1666
    <target_index>Subject-subdivision:p</target_index>
1667
    <target_index>Subject-name-geographical:w</target_index>
1668
    <target_index>Subject-name-geographical:p</target_index>
1669
  </index_subfields>
1670
  <!--607$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-name-geographical:w,Subject-name-geographical:p-->
1671
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="607" subfields="z">
1672
    <target_index>Subject:w</target_index>
1673
    <target_index>Subject:p</target_index>
1674
    <target_index>Subject-subdivision:w</target_index>
1675
    <target_index>Subject-subdivision:p</target_index>
1676
    <target_index>Subject-chronological:w</target_index>
1677
    <target_index>Subject-chronological:p</target_index>
1678
    <target_index>Subject-name-geographical:w</target_index>
1679
    <target_index>Subject-name-geographical:p</target_index>
1680
  </index_subfields>
1681
  <!--608 : Form, Genre or Physical Characteristics Heading-->
1682
  <!--indexing a-->
1683
  <!--indexing specifically $j,$x,$y,$z-->
1684
  <!--608$a    Subject-genre-form:w,Subject-genre-form:p,Subject,Subject:p-->
1685
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="a">
1686
    <target_index>Subject-genre-form:w</target_index>
1687
    <target_index>Subject-genre-form:p</target_index>
1688
    <target_index>Subject:w</target_index>
1689
    <target_index>Subject:p</target_index>
1690
  </index_subfields>
1691
  <!--608$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p-->
1692
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="j">
1693
    <target_index>Subject:w</target_index>
1694
    <target_index>Subject:p</target_index>
1695
    <target_index>Subject-subdivision:w</target_index>
1696
    <target_index>Subject-subdivision:p</target_index>
1697
    <target_index>Subject-genre-form:w</target_index>
1698
    <target_index>Subject-genre-form:p</target_index>
1699
  </index_subfields>
1700
  <!--608$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p-->
1701
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="x">
1702
    <target_index>Subject:w</target_index>
1703
    <target_index>Subject:p</target_index>
1704
    <target_index>Subject-subdivision:w</target_index>
1705
    <target_index>Subject-subdivision:p</target_index>
1706
    <target_index>Subject-genre-form:w</target_index>
1707
    <target_index>Subject-genre-form:p</target_index>
1708
  </index_subfields>
1709
  <!--608$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p,Subject-genre-form:w,Subject-genre-form:p-->
1710
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="y">
1711
    <target_index>Subject:w</target_index>
1712
    <target_index>Subject:p</target_index>
1713
    <target_index>Subject-subdivision:w</target_index>
1714
    <target_index>Subject-subdivision:p</target_index>
1715
    <target_index>Subject-name-geographical:w</target_index>
1716
    <target_index>Subject-name-geographical:p</target_index>
1717
    <target_index>Subject-genre-form:w</target_index>
1718
    <target_index>Subject-genre-form:p</target_index>
1719
  </index_subfields>
1720
  <!--608$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological:p,Subject-genre-form:w,Subject-genre-form:p-->
1721
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="608" subfields="z">
1722
    <target_index>Subject:w</target_index>
1723
    <target_index>Subject:p</target_index>
1724
    <target_index>Subject-subdivision:w</target_index>
1725
    <target_index>Subject-subdivision:p</target_index>
1726
    <target_index>Subject-chronological:w</target_index>
1727
    <target_index>Subject-chronological:p</target_index>
1728
    <target_index>Subject-genre-form:w</target_index>
1729
    <target_index>Subject-genre-form:p</target_index>
1730
  </index_subfields>
1731
  <!--610 : Uncontroled subject terms // see Marc21 653-->
1732
  <!--FIXME maybe to index in att 1080    Subject-uncontrolled ?-->
1733
  <!--610$a    Subject,Subject:p-->
1734
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="610" subfields="a">
1735
    <target_index>Subject:w</target_index>
1736
    <target_index>Subject:p</target_index>
1737
  </index_subfields>
1738
  <!--615 : Subject category-->
1739
  <!--indexing a,x,n,m-->
1740
  <!--not indexing 2,3-->
1741
  <!--FIXME Create specific index?-->
1742
  <!--615$axnm   Subject,Subject:p-->
1743
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="615" subfields="axnm">
1744
    <target_index>Subject:w</target_index>
1745
    <target_index>Subject:p</target_index>
1746
  </index_subfields>
1747
  <!--616 : Trademark-->
1748
  <!--indexing a-->
1749
  <!--not indexing c,f,2,3,5-->
1750
  <!--indexing specificly $j,$x,$y,$z-->
1751
  <!--FIXME Create specific index?-->
1752
  <!--melm 616$a    Subject,Subject:p-->
1753
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="a">
1754
    <target_index>Subject:w</target_index>
1755
    <target_index>Subject:p</target_index>
1756
  </index_subfields>
1757
  <!--616$j    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-genre-form:w,Subject-genre-form:p-->
1758
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="j">
1759
    <target_index>Subject:w</target_index>
1760
    <target_index>Subject:p</target_index>
1761
    <target_index>Subject-subdivision:w</target_index>
1762
    <target_index>Subject-subdivision:p</target_index>
1763
    <target_index>Subject-genre-form:w</target_index>
1764
    <target_index>Subject-genre-form:p</target_index>
1765
  </index_subfields>
1766
  <!--616$x    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p-->
1767
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="x">
1768
    <target_index>Subject:w</target_index>
1769
    <target_index>Subject:p</target_index>
1770
    <target_index>Subject-subdivision:w</target_index>
1771
    <target_index>Subject-subdivision:p</target_index>
1772
  </index_subfields>
1773
  <!--616$y    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-name-geographical:w,Subject-name-geographical:p-->
1774
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="y">
1775
    <target_index>Subject:w</target_index>
1776
    <target_index>Subject:p</target_index>
1777
    <target_index>Subject-subdivision:w</target_index>
1778
    <target_index>Subject-subdivision:p</target_index>
1779
    <target_index>Subject-name-geographical:w</target_index>
1780
    <target_index>Subject-name-geographical:p</target_index>
1781
  </index_subfields>
1782
  <!--616$z    Subject:w,Subject:p,Subject-subdivision:w,Subject-subdivision:p,Subject-chronological:w,Subject-chronological-->
1783
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="616" subfields="z">
1784
    <target_index>Subject:w</target_index>
1785
    <target_index>Subject:p</target_index>
1786
    <target_index>Subject-subdivision:w</target_index>
1787
    <target_index>Subject-subdivision:p</target_index>
1788
    <target_index>Subject-chronological:w</target_index>
1789
    <target_index>Subject-chronological:w</target_index>
1790
  </index_subfields>
1791
  <!--617 : hierarchical geographical name // see Marc21 752-->
1792
  <!--indexing a,b,c,d,e,f,g,h,i,k,l,m,n,o-->
1793
  <!--not indexing 2,3-->
1794
  <!--FIXME Create specific index?-->
1795
  <!--melm 617$abcdefghiklmno    Subject,Subject:p-->
1796
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="617" subfields="abcdefghiklmno">
1797
    <target_index>Subject:w</target_index>
1798
    <target_index>Subject:p</target_index>
1799
  </index_subfields>
1800
  <!--620 : Place and date of publication/performance // see Marc21 752-->
1801
  <!--indexing a,b,c,d,e,f,g,h,i,k,l,m,n,o-->
1802
  <!--not indexing 2,3-->
1803
  <!--f-i are defined in French translation of Unimarc Manual-->
1804
  <!--FIXME Create specific index?-->
1805
  <!--melm 620$abcdefghiklmno    Subject,Subject:p-->
1806
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="620" subfields="abcdefghiklmno">
1807
    <target_index>Subject:w</target_index>
1808
    <target_index>Subject:p</target_index>
1809
  </index_subfields>
1810
  <!--621 : Place and date of provenance // see Marc21 752-->
1811
  <!--indexing a,b,c,d,e,f,g,h,i,k,l,m,n,o-->
1812
  <!--not indexing 2,3-->
1813
  <!--FIXME Create specific index?-->
1814
  <!--621$abcdefghiklmno   Subject,Subject:p-->
1815
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="621" subfields="abcdefghiklmno">
1816
    <target_index>Subject:w</target_index>
1817
    <target_index>Subject:p</target_index>
1818
  </index_subfields>
1819
  <!--626 : Technical details access // see Marc21 753-->
1820
  <!--Note : obsolete field (use 337 field instead)-->
1821
  <!--660 : Geographic area code // see Marc21 043-->
1822
  <!-- Coded information on 7 bytes-->
1823
  <!--660$a     Subject,Subject:p-->
1824
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="660" subfields="a">
1825
    <target_index>Subject:w</target_index>
1826
    <target_index>Subject:p</target_index>
1827
  </index_subfields>
1828
  <!--661 : Chronological coverage code-->
1829
  <!--Coded information on 4 bytes-->
1830
  <!--661$a     Subject,Subject:p-->
1831
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="661" subfields="a">
1832
    <target_index>Subject:w</target_index>
1833
    <target_index>Subject:p</target_index>
1834
  </index_subfields>
1300
  <!--==== 67X/68X BLOCK OF CLASSIFICATIONS ====-->
1835
  <!--==== 67X/68X BLOCK OF CLASSIFICATIONS ====-->
1301
  <!--record.abs line 471: melm 670		Subject-precis:w,Subject-precis:p-->
1836
  <!--record.abs line 471: melm 670		Subject-precis:w,Subject-precis:p-->
1302
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="670">
1837
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="670">
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-226 / +469 lines)
Lines 436-443 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
436
        </z:index>
436
        </z:index>
437
      </xslo:if>
437
      </xslo:if>
438
    </xslo:for-each>
438
    </xslo:for-each>
439
  </xslo:template>
440
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='101']">
441
    <xslo:for-each select="marc:subfield">
439
    <xslo:for-each select="marc:subfield">
442
      <xslo:if test="contains('c', @code)">
440
      <xslo:if test="contains('c', @code)">
443
        <z:index name="language-original:w">
441
        <z:index name="language-original:w">
Lines 1671-1698 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1671
  </xslo:template>
1669
  </xslo:template>
1672
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='600']">
1670
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='600']">
1673
    <xslo:for-each select="marc:subfield">
1671
    <xslo:for-each select="marc:subfield">
1674
      <xslo:if test="contains('a', @code)">
1672
      <xslo:if test="contains('9', @code)">
1675
        <z:index name="Personal-name:w Personal-name:p Subject:w Subject:p">
1673
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1676
          <xslo:value-of select="."/>
1674
          <xslo:value-of select="."/>
1677
        </z:index>
1675
        </z:index>
1678
      </xslo:if>
1676
      </xslo:if>
1679
    </xslo:for-each>
1677
    </xslo:for-each>
1680
    <xslo:for-each select="marc:subfield">
1678
    <xslo:for-each select="marc:subfield">
1681
      <xslo:if test="contains('9', @code)">
1679
      <xslo:if test="contains('abdgt', @code)">
1682
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1680
        <z:index name="Personal-name:w Personal-name:p Subject-name-personal:w Subject-name-personal:p Subject:w Subject:p">
1683
          <xslo:value-of select="."/>
1681
          <xslo:value-of select="."/>
1684
        </z:index>
1682
        </z:index>
1685
      </xslo:if>
1683
      </xslo:if>
1686
    </xslo:for-each>
1684
    </xslo:for-each>
1687
  </xslo:template>
1688
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='601']">
1689
    <xslo:for-each select="marc:subfield">
1685
    <xslo:for-each select="marc:subfield">
1690
      <xslo:if test="contains('a', @code)">
1686
      <xslo:if test="contains('j', @code)">
1691
        <z:index name="Corporate-name:w Conference-name:w Corporate-name:p Conference-name:p">
1687
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-name-personal:w Subject-name-personal:p">
1688
          <xslo:value-of select="."/>
1689
        </z:index>
1690
      </xslo:if>
1691
    </xslo:for-each>
1692
    <xslo:for-each select="marc:subfield">
1693
      <xslo:if test="contains('x', @code)">
1694
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-personal:w Subject-name-personal:p">
1695
          <xslo:value-of select="."/>
1696
        </z:index>
1697
      </xslo:if>
1698
    </xslo:for-each>
1699
    <xslo:for-each select="marc:subfield">
1700
      <xslo:if test="contains('y', @code)">
1701
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-name-personal:w Subject-name-personal:p">
1702
          <xslo:value-of select="."/>
1703
        </z:index>
1704
      </xslo:if>
1705
    </xslo:for-each>
1706
    <xslo:for-each select="marc:subfield">
1707
      <xslo:if test="contains('z', @code)">
1708
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-name-personal:w Subject-name-personal:p">
1692
          <xslo:value-of select="."/>
1709
          <xslo:value-of select="."/>
1693
        </z:index>
1710
        </z:index>
1694
      </xslo:if>
1711
      </xslo:if>
1695
    </xslo:for-each>
1712
    </xslo:for-each>
1713
  </xslo:template>
1714
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='601']">
1696
    <xslo:for-each select="marc:subfield">
1715
    <xslo:for-each select="marc:subfield">
1697
      <xslo:if test="contains('9', @code)">
1716
      <xslo:if test="contains('9', @code)">
1698
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1717
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 1700-1721 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1700
        </z:index>
1719
        </z:index>
1701
      </xslo:if>
1720
      </xslo:if>
1702
    </xslo:for-each>
1721
    </xslo:for-each>
1703
  </xslo:template>
1704
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='602']">
1705
    <xslo:for-each select="marc:subfield">
1722
    <xslo:for-each select="marc:subfield">
1706
      <xslo:if test="contains('a', @code)">
1723
      <xslo:if test="contains('a', @code)">
1707
        <z:index name="Personal-name:w Personal-name:p">
1724
        <z:index name="Corporate-name:w Corporate-name:p Conference-name:w Conference-name:p Subject-name-conference:w Subject-name-conference:p Subject-name-corporate:w Subject-name-corporate:p Subject:w Subject:p">
1725
          <xslo:value-of select="."/>
1726
        </z:index>
1727
      </xslo:if>
1728
    </xslo:for-each>
1729
    <xslo:for-each select="marc:subfield">
1730
      <xslo:if test="contains('j', @code)">
1731
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-name-conference:w Subject-name-conference:p Subject-name-corporate:w Subject-name-corporate:p">
1732
          <xslo:value-of select="."/>
1733
        </z:index>
1734
      </xslo:if>
1735
    </xslo:for-each>
1736
    <xslo:for-each select="marc:subfield">
1737
      <xslo:if test="contains('x', @code)">
1738
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-conference:w Subject-name-conference:p Subject-name-corporate:w Subject-name-corporate:p">
1739
          <xslo:value-of select="."/>
1740
        </z:index>
1741
      </xslo:if>
1742
    </xslo:for-each>
1743
    <xslo:for-each select="marc:subfield">
1744
      <xslo:if test="contains('y', @code)">
1745
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-name-conference:w Subject-name-conference:p Subject-name-corporate:w Subject-name-corporate:p">
1708
          <xslo:value-of select="."/>
1746
          <xslo:value-of select="."/>
1709
        </z:index>
1747
        </z:index>
1710
      </xslo:if>
1748
      </xslo:if>
1711
    </xslo:for-each>
1749
    </xslo:for-each>
1712
    <xslo:for-each select="marc:subfield">
1750
    <xslo:for-each select="marc:subfield">
1751
      <xslo:if test="contains('z', @code)">
1752
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-name-conference:w Subject-name-conference:p Subject-name-corporate:w Subject-name-corporate:p">
1753
          <xslo:value-of select="."/>
1754
        </z:index>
1755
      </xslo:if>
1756
    </xslo:for-each>
1757
  </xslo:template>
1758
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='602']">
1759
    <xslo:for-each select="marc:subfield">
1713
      <xslo:if test="contains('9', @code)">
1760
      <xslo:if test="contains('9', @code)">
1714
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1761
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1715
          <xslo:value-of select="."/>
1762
          <xslo:value-of select="."/>
1716
        </z:index>
1763
        </z:index>
1717
      </xslo:if>
1764
      </xslo:if>
1718
    </xslo:for-each>
1765
    </xslo:for-each>
1766
    <xslo:for-each select="marc:subfield">
1767
      <xslo:if test="contains('at', @code)">
1768
        <z:index name="Personal-name:w Personal-name:p Subject-name-personal:w Subject-name-personal:p Subject:w Subject:p">
1769
          <xslo:value-of select="."/>
1770
        </z:index>
1771
      </xslo:if>
1772
    </xslo:for-each>
1773
    <xslo:for-each select="marc:subfield">
1774
      <xslo:if test="contains('j', @code)">
1775
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-name-personal:w Subject-name-personal:p">
1776
          <xslo:value-of select="."/>
1777
        </z:index>
1778
      </xslo:if>
1779
    </xslo:for-each>
1780
    <xslo:for-each select="marc:subfield">
1781
      <xslo:if test="contains('x', @code)">
1782
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-personal:w Subject-name-personal:p">
1783
          <xslo:value-of select="."/>
1784
        </z:index>
1785
      </xslo:if>
1786
    </xslo:for-each>
1787
    <xslo:for-each select="marc:subfield">
1788
      <xslo:if test="contains('y', @code)">
1789
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-name-personal:w Subject-name-personal:p">
1790
          <xslo:value-of select="."/>
1791
        </z:index>
1792
      </xslo:if>
1793
    </xslo:for-each>
1794
    <xslo:for-each select="marc:subfield">
1795
      <xslo:if test="contains('z', @code)">
1796
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-name-personal:w Subject-name-personal:p">
1797
          <xslo:value-of select="."/>
1798
        </z:index>
1799
      </xslo:if>
1800
    </xslo:for-each>
1719
  </xslo:template>
1801
  </xslo:template>
1720
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='604']">
1802
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='604']">
1721
    <xslo:for-each select="marc:subfield">
1803
    <xslo:for-each select="marc:subfield">
Lines 1725-1730 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1725
        </z:index>
1807
        </z:index>
1726
      </xslo:if>
1808
      </xslo:if>
1727
    </xslo:for-each>
1809
    </xslo:for-each>
1810
    <xslo:for-each select="marc:subfield">
1811
      <xslo:if test="contains('at', @code)">
1812
        <z:index name="Name-and-title:w Name-and-title:p Subject-title:w Subject-title:p Personal-name:w Personal-name:p Subject-name-personal:w Subject-name-personal:p Subject:w Subject:p">
1813
          <xslo:value-of select="."/>
1814
        </z:index>
1815
      </xslo:if>
1816
    </xslo:for-each>
1817
    <xslo:for-each select="marc:subfield">
1818
      <xslo:if test="contains('t', @code)">
1819
        <z:index name="Name-and-title:w Name-and-title:p Subject-title:w Subject-title:p Subject-name-personal:w Subject-name-personal:p Subject:w Subject:p">
1820
          <xslo:value-of select="."/>
1821
        </z:index>
1822
      </xslo:if>
1823
    </xslo:for-each>
1824
    <xslo:for-each select="marc:subfield">
1825
      <xslo:if test="contains('j', @code)">
1826
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-title:w Subject-title:p">
1827
          <xslo:value-of select="."/>
1828
        </z:index>
1829
      </xslo:if>
1830
    </xslo:for-each>
1831
    <xslo:for-each select="marc:subfield">
1832
      <xslo:if test="contains('x', @code)">
1833
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-title:w Subject-title:p">
1834
          <xslo:value-of select="."/>
1835
        </z:index>
1836
      </xslo:if>
1837
    </xslo:for-each>
1838
    <xslo:for-each select="marc:subfield">
1839
      <xslo:if test="contains('y', @code)">
1840
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-title:w Subject-title:p">
1841
          <xslo:value-of select="."/>
1842
        </z:index>
1843
      </xslo:if>
1844
    </xslo:for-each>
1845
    <xslo:for-each select="marc:subfield">
1846
      <xslo:if test="contains('z', @code)">
1847
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-title:w Subject-title:p">
1848
          <xslo:value-of select="."/>
1849
        </z:index>
1850
      </xslo:if>
1851
    </xslo:for-each>
1728
  </xslo:template>
1852
  </xslo:template>
1729
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='605']">
1853
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='605']">
1730
    <xslo:for-each select="marc:subfield">
1854
    <xslo:for-each select="marc:subfield">
Lines 1734-1739 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1734
        </z:index>
1858
        </z:index>
1735
      </xslo:if>
1859
      </xslo:if>
1736
    </xslo:for-each>
1860
    </xslo:for-each>
1861
    <xslo:for-each select="marc:subfield">
1862
      <xslo:if test="contains('ahiklmnqrsuw', @code)">
1863
        <z:index name="Subject-title:w Subject-title:p Subject:w Subject:p">
1864
          <xslo:value-of select="."/>
1865
        </z:index>
1866
      </xslo:if>
1867
    </xslo:for-each>
1868
    <xslo:for-each select="marc:subfield">
1869
      <xslo:if test="contains('j', @code)">
1870
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-title:w Subject-title:p">
1871
          <xslo:value-of select="."/>
1872
        </z:index>
1873
      </xslo:if>
1874
    </xslo:for-each>
1875
    <xslo:for-each select="marc:subfield">
1876
      <xslo:if test="contains('x', @code)">
1877
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-title:w Subject-title:p">
1878
          <xslo:value-of select="."/>
1879
        </z:index>
1880
      </xslo:if>
1881
    </xslo:for-each>
1882
    <xslo:for-each select="marc:subfield">
1883
      <xslo:if test="contains('y', @code)">
1884
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-title:w Subject-title:p">
1885
          <xslo:value-of select="."/>
1886
        </z:index>
1887
      </xslo:if>
1888
    </xslo:for-each>
1889
    <xslo:for-each select="marc:subfield">
1890
      <xslo:if test="contains('z', @code)">
1891
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-title:w Subject-title:p">
1892
          <xslo:value-of select="."/>
1893
        </z:index>
1894
      </xslo:if>
1895
    </xslo:for-each>
1737
  </xslo:template>
1896
  </xslo:template>
1738
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='606']">
1897
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='606']">
1739
    <xslo:for-each select="marc:subfield">
1898
    <xslo:for-each select="marc:subfield">
Lines 1743-1748 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1743
        </z:index>
1902
        </z:index>
1744
      </xslo:if>
1903
      </xslo:if>
1745
    </xslo:for-each>
1904
    </xslo:for-each>
1905
    <xslo:for-each select="marc:subfield">
1906
      <xslo:if test="contains('a', @code)">
1907
        <z:index name="Subject-topical:w Subject-topical:p Subject:w Subject:p">
1908
          <xslo:value-of select="."/>
1909
        </z:index>
1910
      </xslo:if>
1911
    </xslo:for-each>
1912
    <xslo:for-each select="marc:subfield">
1913
      <xslo:if test="contains('j', @code)">
1914
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-topical:w Subject-topical:p">
1915
          <xslo:value-of select="."/>
1916
        </z:index>
1917
      </xslo:if>
1918
    </xslo:for-each>
1919
    <xslo:for-each select="marc:subfield">
1920
      <xslo:if test="contains('x', @code)">
1921
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-topical:w Subject-topical:p">
1922
          <xslo:value-of select="."/>
1923
        </z:index>
1924
      </xslo:if>
1925
    </xslo:for-each>
1926
    <xslo:for-each select="marc:subfield">
1927
      <xslo:if test="contains('y', @code)">
1928
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-topical:w Subject-topical:p">
1929
          <xslo:value-of select="."/>
1930
        </z:index>
1931
      </xslo:if>
1932
    </xslo:for-each>
1933
    <xslo:for-each select="marc:subfield">
1934
      <xslo:if test="contains('z', @code)">
1935
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-topical:w Subject-topical:p">
1936
          <xslo:value-of select="."/>
1937
        </z:index>
1938
      </xslo:if>
1939
    </xslo:for-each>
1746
  </xslo:template>
1940
  </xslo:template>
1747
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='607']">
1941
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='607']">
1748
    <xslo:for-each select="marc:subfield">
1942
    <xslo:for-each select="marc:subfield">
Lines 1752-1757 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1752
        </z:index>
1946
        </z:index>
1753
      </xslo:if>
1947
      </xslo:if>
1754
    </xslo:for-each>
1948
    </xslo:for-each>
1949
    <xslo:for-each select="marc:subfield">
1950
      <xslo:if test="contains('a', @code)">
1951
        <z:index name="Name-geographic:w Name-geographic:p Subject-name-geographical:w Subject-name-geographical:p Subject:w Subject:p">
1952
          <xslo:value-of select="."/>
1953
        </z:index>
1954
      </xslo:if>
1955
    </xslo:for-each>
1956
    <xslo:for-each select="marc:subfield">
1957
      <xslo:if test="contains('j', @code)">
1958
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p Subject-name-geographical:w Subject-name-geographical:p">
1959
          <xslo:value-of select="."/>
1960
        </z:index>
1961
      </xslo:if>
1962
    </xslo:for-each>
1963
    <xslo:for-each select="marc:subfield">
1964
      <xslo:if test="contains('x', @code)">
1965
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p">
1966
          <xslo:value-of select="."/>
1967
        </z:index>
1968
      </xslo:if>
1969
    </xslo:for-each>
1970
    <xslo:for-each select="marc:subfield">
1971
      <xslo:if test="contains('y', @code)">
1972
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p">
1973
          <xslo:value-of select="."/>
1974
        </z:index>
1975
      </xslo:if>
1976
    </xslo:for-each>
1977
    <xslo:for-each select="marc:subfield">
1978
      <xslo:if test="contains('z', @code)">
1979
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-name-geographical:w Subject-name-geographical:p">
1980
          <xslo:value-of select="."/>
1981
        </z:index>
1982
      </xslo:if>
1983
    </xslo:for-each>
1755
  </xslo:template>
1984
  </xslo:template>
1756
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='608']">
1985
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='608']">
1757
    <xslo:for-each select="marc:subfield">
1986
    <xslo:for-each select="marc:subfield">
Lines 1762-1793 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1762
      </xslo:if>
1991
      </xslo:if>
1763
    </xslo:for-each>
1992
    </xslo:for-each>
1764
    <xslo:for-each select="marc:subfield">
1993
    <xslo:for-each select="marc:subfield">
1765
      <xslo:if test="contains('9', @code)">
1994
      <xslo:if test="contains('a', @code)">
1766
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1995
        <z:index name="Subject-genre-form:w Subject-genre-form:p Subject:w Subject:p">
1767
          <xslo:value-of select="."/>
1996
          <xslo:value-of select="."/>
1768
        </z:index>
1997
        </z:index>
1769
      </xslo:if>
1998
      </xslo:if>
1770
    </xslo:for-each>
1999
    </xslo:for-each>
1771
  </xslo:template>
1772
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='615']">
1773
    <xslo:for-each select="marc:subfield">
2000
    <xslo:for-each select="marc:subfield">
1774
      <xslo:if test="contains('9', @code)">
2001
      <xslo:if test="contains('j', @code)">
1775
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2002
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p">
1776
          <xslo:value-of select="."/>
2003
          <xslo:value-of select="."/>
1777
        </z:index>
2004
        </z:index>
1778
      </xslo:if>
2005
      </xslo:if>
1779
    </xslo:for-each>
2006
    </xslo:for-each>
1780
  </xslo:template>
1781
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='616']">
1782
    <xslo:for-each select="marc:subfield">
2007
    <xslo:for-each select="marc:subfield">
1783
      <xslo:if test="contains('9', @code)">
2008
      <xslo:if test="contains('x', @code)">
1784
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2009
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p">
2010
          <xslo:value-of select="."/>
2011
        </z:index>
2012
      </xslo:if>
2013
    </xslo:for-each>
2014
    <xslo:for-each select="marc:subfield">
2015
      <xslo:if test="contains('y', @code)">
2016
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p Subject-genre-form:w Subject-genre-form:p">
2017
          <xslo:value-of select="."/>
2018
        </z:index>
2019
      </xslo:if>
2020
    </xslo:for-each>
2021
    <xslo:for-each select="marc:subfield">
2022
      <xslo:if test="contains('z', @code)">
2023
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:p Subject-genre-form:w Subject-genre-form:p">
1785
          <xslo:value-of select="."/>
2024
          <xslo:value-of select="."/>
1786
        </z:index>
2025
        </z:index>
1787
      </xslo:if>
2026
      </xslo:if>
1788
    </xslo:for-each>
2027
    </xslo:for-each>
1789
  </xslo:template>
2028
  </xslo:template>
1790
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='617']">
2029
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='610']">
1791
    <xslo:for-each select="marc:subfield">
2030
    <xslo:for-each select="marc:subfield">
1792
      <xslo:if test="contains('9', @code)">
2031
      <xslo:if test="contains('9', @code)">
1793
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2032
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 1795-1802 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1795
        </z:index>
2034
        </z:index>
1796
      </xslo:if>
2035
      </xslo:if>
1797
    </xslo:for-each>
2036
    </xslo:for-each>
2037
    <xslo:for-each select="marc:subfield">
2038
      <xslo:if test="contains('a', @code)">
2039
        <z:index name="Subject:w Subject:p">
2040
          <xslo:value-of select="."/>
2041
        </z:index>
2042
      </xslo:if>
2043
    </xslo:for-each>
1798
  </xslo:template>
2044
  </xslo:template>
1799
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='620']">
2045
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='615']">
1800
    <xslo:for-each select="marc:subfield">
2046
    <xslo:for-each select="marc:subfield">
1801
      <xslo:if test="contains('9', @code)">
2047
      <xslo:if test="contains('9', @code)">
1802
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2048
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 1804-1811 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1804
        </z:index>
2050
        </z:index>
1805
      </xslo:if>
2051
      </xslo:if>
1806
    </xslo:for-each>
2052
    </xslo:for-each>
2053
    <xslo:for-each select="marc:subfield">
2054
      <xslo:if test="contains('axnm', @code)">
2055
        <z:index name="Subject:w Subject:p">
2056
          <xslo:value-of select="."/>
2057
        </z:index>
2058
      </xslo:if>
2059
    </xslo:for-each>
1807
  </xslo:template>
2060
  </xslo:template>
1808
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='621']">
2061
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='616']">
1809
    <xslo:for-each select="marc:subfield">
2062
    <xslo:for-each select="marc:subfield">
1810
      <xslo:if test="contains('9', @code)">
2063
      <xslo:if test="contains('9', @code)">
1811
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2064
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 1813-1856 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1813
        </z:index>
2066
        </z:index>
1814
      </xslo:if>
2067
      </xslo:if>
1815
    </xslo:for-each>
2068
    </xslo:for-each>
1816
  </xslo:template>
1817
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='675']">
1818
    <xslo:for-each select="marc:subfield">
2069
    <xslo:for-each select="marc:subfield">
1819
      <xslo:if test="contains('a', @code)">
2070
      <xslo:if test="contains('a', @code)">
1820
        <z:index name="UDC-classification:w UDC-classification:p UDC-classification:s">
2071
        <z:index name="Subject:w Subject:p">
1821
          <xslo:value-of select="."/>
2072
          <xslo:value-of select="."/>
1822
        </z:index>
2073
        </z:index>
1823
      </xslo:if>
2074
      </xslo:if>
1824
    </xslo:for-each>
2075
    </xslo:for-each>
1825
  </xslo:template>
1826
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='676']">
1827
    <xslo:for-each select="marc:subfield">
2076
    <xslo:for-each select="marc:subfield">
1828
      <xslo:if test="contains('a', @code)">
2077
      <xslo:if test="contains('j', @code)">
1829
        <z:index name="Dewey-classification:w Dewey-classification:p Dewey-classification:s">
2078
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-genre-form:w Subject-genre-form:p">
1830
          <xslo:value-of select="."/>
2079
          <xslo:value-of select="."/>
1831
        </z:index>
2080
        </z:index>
1832
      </xslo:if>
2081
      </xslo:if>
1833
    </xslo:for-each>
2082
    </xslo:for-each>
1834
  </xslo:template>
1835
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='680']">
1836
    <xslo:for-each select="marc:subfield">
2083
    <xslo:for-each select="marc:subfield">
1837
      <xslo:if test="contains('b', @code)">
2084
      <xslo:if test="contains('x', @code)">
1838
        <z:index name="LC-call-number:s">
2085
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p">
1839
          <xslo:value-of select="."/>
2086
          <xslo:value-of select="."/>
1840
        </z:index>
2087
        </z:index>
1841
      </xslo:if>
2088
      </xslo:if>
1842
    </xslo:for-each>
2089
    </xslo:for-each>
1843
  </xslo:template>
1844
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='942']">
1845
    <xslo:for-each select="marc:subfield">
2090
    <xslo:for-each select="marc:subfield">
1846
      <xslo:if test="contains('0', @code)">
2091
      <xslo:if test="contains('y', @code)">
1847
        <z:index name="totalissues:n totalissues:s">
2092
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-name-geographical:w Subject-name-geographical:p">
1848
          <xslo:value-of select="."/>
2093
          <xslo:value-of select="."/>
1849
        </z:index>
2094
        </z:index>
1850
      </xslo:if>
2095
      </xslo:if>
1851
    </xslo:for-each>
2096
    </xslo:for-each>
1852
  </xslo:template>
2097
    <xslo:for-each select="marc:subfield">
1853
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']">
2098
      <xslo:if test="contains('z', @code)">
2099
        <z:index name="Subject:w Subject:p Subject-subdivision:w Subject-subdivision:p Subject-chronological:w Subject-chronological:w">
2100
          <xslo:value-of select="."/>
2101
        </z:index>
2102
      </xslo:if>
2103
    </xslo:for-each>
2104
  </xslo:template>
2105
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='617']">
2106
    <xslo:for-each select="marc:subfield">
2107
      <xslo:if test="contains('9', @code)">
2108
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2109
          <xslo:value-of select="."/>
2110
        </z:index>
2111
      </xslo:if>
2112
    </xslo:for-each>
2113
    <xslo:for-each select="marc:subfield">
2114
      <xslo:if test="contains('abcdefghiklmno', @code)">
2115
        <z:index name="Subject:w Subject:p">
2116
          <xslo:value-of select="."/>
2117
        </z:index>
2118
      </xslo:if>
2119
    </xslo:for-each>
2120
  </xslo:template>
2121
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='620']">
2122
    <xslo:for-each select="marc:subfield">
2123
      <xslo:if test="contains('9', @code)">
2124
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2125
          <xslo:value-of select="."/>
2126
        </z:index>
2127
      </xslo:if>
2128
    </xslo:for-each>
2129
    <xslo:for-each select="marc:subfield">
2130
      <xslo:if test="contains('abcdefghiklmno', @code)">
2131
        <z:index name="Subject:w Subject:p">
2132
          <xslo:value-of select="."/>
2133
        </z:index>
2134
      </xslo:if>
2135
    </xslo:for-each>
2136
  </xslo:template>
2137
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='621']">
2138
    <xslo:for-each select="marc:subfield">
2139
      <xslo:if test="contains('9', @code)">
2140
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2141
          <xslo:value-of select="."/>
2142
        </z:index>
2143
      </xslo:if>
2144
    </xslo:for-each>
2145
    <xslo:for-each select="marc:subfield">
2146
      <xslo:if test="contains('abcdefghiklmno', @code)">
2147
        <z:index name="Subject:w Subject:p">
2148
          <xslo:value-of select="."/>
2149
        </z:index>
2150
      </xslo:if>
2151
    </xslo:for-each>
2152
  </xslo:template>
2153
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='603']">
2154
    <xslo:for-each select="marc:subfield">
2155
      <xslo:if test="contains('9', @code)">
2156
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2157
          <xslo:value-of select="."/>
2158
        </z:index>
2159
      </xslo:if>
2160
    </xslo:for-each>
2161
  </xslo:template>
2162
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='630']">
2163
    <xslo:for-each select="marc:subfield">
2164
      <xslo:if test="contains('9', @code)">
2165
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2166
          <xslo:value-of select="."/>
2167
        </z:index>
2168
      </xslo:if>
2169
    </xslo:for-each>
2170
  </xslo:template>
2171
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='631']">
2172
    <xslo:for-each select="marc:subfield">
2173
      <xslo:if test="contains('9', @code)">
2174
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2175
          <xslo:value-of select="."/>
2176
        </z:index>
2177
      </xslo:if>
2178
    </xslo:for-each>
2179
  </xslo:template>
2180
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='632']">
2181
    <xslo:for-each select="marc:subfield">
2182
      <xslo:if test="contains('9', @code)">
2183
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2184
          <xslo:value-of select="."/>
2185
        </z:index>
2186
      </xslo:if>
2187
    </xslo:for-each>
2188
  </xslo:template>
2189
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='633']">
2190
    <xslo:for-each select="marc:subfield">
2191
      <xslo:if test="contains('9', @code)">
2192
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2193
          <xslo:value-of select="."/>
2194
        </z:index>
2195
      </xslo:if>
2196
    </xslo:for-each>
2197
  </xslo:template>
2198
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='634']">
2199
    <xslo:for-each select="marc:subfield">
2200
      <xslo:if test="contains('9', @code)">
2201
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2202
          <xslo:value-of select="."/>
2203
        </z:index>
2204
      </xslo:if>
2205
    </xslo:for-each>
2206
  </xslo:template>
2207
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='635']">
2208
    <xslo:for-each select="marc:subfield">
2209
      <xslo:if test="contains('9', @code)">
2210
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2211
          <xslo:value-of select="."/>
2212
        </z:index>
2213
      </xslo:if>
2214
    </xslo:for-each>
2215
  </xslo:template>
2216
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='636']">
2217
    <xslo:for-each select="marc:subfield">
2218
      <xslo:if test="contains('9', @code)">
2219
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2220
          <xslo:value-of select="."/>
2221
        </z:index>
2222
      </xslo:if>
2223
    </xslo:for-each>
2224
  </xslo:template>
2225
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='660']">
2226
    <xslo:for-each select="marc:subfield">
2227
      <xslo:if test="contains('a', @code)">
2228
        <z:index name="Subject:w Subject:p">
2229
          <xslo:value-of select="."/>
2230
        </z:index>
2231
      </xslo:if>
2232
    </xslo:for-each>
2233
  </xslo:template>
2234
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='661']">
2235
    <xslo:for-each select="marc:subfield">
2236
      <xslo:if test="contains('a', @code)">
2237
        <z:index name="Subject:w Subject:p">
2238
          <xslo:value-of select="."/>
2239
        </z:index>
2240
      </xslo:if>
2241
    </xslo:for-each>
2242
  </xslo:template>
2243
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='675']">
2244
    <xslo:for-each select="marc:subfield">
2245
      <xslo:if test="contains('a', @code)">
2246
        <z:index name="UDC-classification:w UDC-classification:p UDC-classification:s">
2247
          <xslo:value-of select="."/>
2248
        </z:index>
2249
      </xslo:if>
2250
    </xslo:for-each>
2251
  </xslo:template>
2252
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='676']">
2253
    <xslo:for-each select="marc:subfield">
2254
      <xslo:if test="contains('a', @code)">
2255
        <z:index name="Dewey-classification:w Dewey-classification:p Dewey-classification:s">
2256
          <xslo:value-of select="."/>
2257
        </z:index>
2258
      </xslo:if>
2259
    </xslo:for-each>
2260
  </xslo:template>
2261
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='680']">
2262
    <xslo:for-each select="marc:subfield">
2263
      <xslo:if test="contains('b', @code)">
2264
        <z:index name="LC-call-number:s">
2265
          <xslo:value-of select="."/>
2266
        </z:index>
2267
      </xslo:if>
2268
    </xslo:for-each>
2269
  </xslo:template>
2270
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='942']">
2271
    <xslo:for-each select="marc:subfield">
2272
      <xslo:if test="contains('0', @code)">
2273
        <z:index name="totalissues:n totalissues:s">
2274
          <xslo:value-of select="."/>
2275
        </z:index>
2276
      </xslo:if>
2277
    </xslo:for-each>
2278
  </xslo:template>
2279
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']">
1854
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
2280
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1855
      <xslo:variable name="raw_heading">
2281
      <xslo:variable name="raw_heading">
1856
        <xslo:for-each select="marc:subfield">
2282
        <xslo:for-each select="marc:subfield">
Lines 2266-2453 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2266
      <xslo:value-of select="normalize-space($raw_heading)"/>
2692
      <xslo:value-of select="normalize-space($raw_heading)"/>
2267
    </z:index>
2693
    </z:index>
2268
  </xslo:template>
2694
  </xslo:template>
2269
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='600']">
2270
    <z:index name="Subject:w Subject:p">
2271
      <xslo:variable name="raw_heading">
2272
        <xslo:for-each select="marc:subfield">
2273
          <xslo:if test="position() &gt; 1">
2274
            <xslo:value-of select="substring(' ', 1, 1)"/>
2275
          </xslo:if>
2276
          <xslo:value-of select="."/>
2277
        </xslo:for-each>
2278
      </xslo:variable>
2279
      <xslo:value-of select="normalize-space($raw_heading)"/>
2280
    </z:index>
2281
  </xslo:template>
2282
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='601']">
2283
    <z:index name="Subject:w Subject:p">
2284
      <xslo:variable name="raw_heading">
2285
        <xslo:for-each select="marc:subfield">
2286
          <xslo:if test="position() &gt; 1">
2287
            <xslo:value-of select="substring(' ', 1, 1)"/>
2288
          </xslo:if>
2289
          <xslo:value-of select="."/>
2290
        </xslo:for-each>
2291
      </xslo:variable>
2292
      <xslo:value-of select="normalize-space($raw_heading)"/>
2293
    </z:index>
2294
  </xslo:template>
2295
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='602']">
2296
    <z:index name="Subject:w Subject:p">
2297
      <xslo:variable name="raw_heading">
2298
        <xslo:for-each select="marc:subfield">
2299
          <xslo:if test="position() &gt; 1">
2300
            <xslo:value-of select="substring(' ', 1, 1)"/>
2301
          </xslo:if>
2302
          <xslo:value-of select="."/>
2303
        </xslo:for-each>
2304
      </xslo:variable>
2305
      <xslo:value-of select="normalize-space($raw_heading)"/>
2306
    </z:index>
2307
  </xslo:template>
2308
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='604']">
2309
    <z:index name="Subject:w Subject:p">
2310
      <xslo:variable name="raw_heading">
2311
        <xslo:for-each select="marc:subfield">
2312
          <xslo:if test="position() &gt; 1">
2313
            <xslo:value-of select="substring(' ', 1, 1)"/>
2314
          </xslo:if>
2315
          <xslo:value-of select="."/>
2316
        </xslo:for-each>
2317
      </xslo:variable>
2318
      <xslo:value-of select="normalize-space($raw_heading)"/>
2319
    </z:index>
2320
  </xslo:template>
2321
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='605']">
2322
    <z:index name="Subject:w Subject:p">
2323
      <xslo:variable name="raw_heading">
2324
        <xslo:for-each select="marc:subfield">
2325
          <xslo:if test="position() &gt; 1">
2326
            <xslo:value-of select="substring(' ', 1, 1)"/>
2327
          </xslo:if>
2328
          <xslo:value-of select="."/>
2329
        </xslo:for-each>
2330
      </xslo:variable>
2331
      <xslo:value-of select="normalize-space($raw_heading)"/>
2332
    </z:index>
2333
  </xslo:template>
2334
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='606']">
2335
    <z:index name="Subject:w Subject:p">
2336
      <xslo:variable name="raw_heading">
2337
        <xslo:for-each select="marc:subfield">
2338
          <xslo:if test="position() &gt; 1">
2339
            <xslo:value-of select="substring(' ', 1, 1)"/>
2340
          </xslo:if>
2341
          <xslo:value-of select="."/>
2342
        </xslo:for-each>
2343
      </xslo:variable>
2344
      <xslo:value-of select="normalize-space($raw_heading)"/>
2345
    </z:index>
2346
  </xslo:template>
2347
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='607']">
2348
    <z:index name="Subject:w Subject:p">
2349
      <xslo:variable name="raw_heading">
2350
        <xslo:for-each select="marc:subfield">
2351
          <xslo:if test="position() &gt; 1">
2352
            <xslo:value-of select="substring(' ', 1, 1)"/>
2353
          </xslo:if>
2354
          <xslo:value-of select="."/>
2355
        </xslo:for-each>
2356
      </xslo:variable>
2357
      <xslo:value-of select="normalize-space($raw_heading)"/>
2358
    </z:index>
2359
  </xslo:template>
2360
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='608']">
2361
    <z:index name="Subject:w Subject:p">
2362
      <xslo:variable name="raw_heading">
2363
        <xslo:for-each select="marc:subfield">
2364
          <xslo:if test="position() &gt; 1">
2365
            <xslo:value-of select="substring(' ', 1, 1)"/>
2366
          </xslo:if>
2367
          <xslo:value-of select="."/>
2368
        </xslo:for-each>
2369
      </xslo:variable>
2370
      <xslo:value-of select="normalize-space($raw_heading)"/>
2371
    </z:index>
2372
  </xslo:template>
2373
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='610']">
2374
    <z:index name="Subject:w Subject:p">
2375
      <xslo:variable name="raw_heading">
2376
        <xslo:for-each select="marc:subfield">
2377
          <xslo:if test="position() &gt; 1">
2378
            <xslo:value-of select="substring(' ', 1, 1)"/>
2379
          </xslo:if>
2380
          <xslo:value-of select="."/>
2381
        </xslo:for-each>
2382
      </xslo:variable>
2383
      <xslo:value-of select="normalize-space($raw_heading)"/>
2384
    </z:index>
2385
  </xslo:template>
2386
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='615']">
2387
    <z:index name="Subject:w Subject:p">
2388
      <xslo:variable name="raw_heading">
2389
        <xslo:for-each select="marc:subfield">
2390
          <xslo:if test="position() &gt; 1">
2391
            <xslo:value-of select="substring(' ', 1, 1)"/>
2392
          </xslo:if>
2393
          <xslo:value-of select="."/>
2394
        </xslo:for-each>
2395
      </xslo:variable>
2396
      <xslo:value-of select="normalize-space($raw_heading)"/>
2397
    </z:index>
2398
  </xslo:template>
2399
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='616']">
2400
    <z:index name="Subject:w Subject:p">
2401
      <xslo:variable name="raw_heading">
2402
        <xslo:for-each select="marc:subfield">
2403
          <xslo:if test="position() &gt; 1">
2404
            <xslo:value-of select="substring(' ', 1, 1)"/>
2405
          </xslo:if>
2406
          <xslo:value-of select="."/>
2407
        </xslo:for-each>
2408
      </xslo:variable>
2409
      <xslo:value-of select="normalize-space($raw_heading)"/>
2410
    </z:index>
2411
  </xslo:template>
2412
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='617']">
2413
    <z:index name="Subject:w Subject:p">
2414
      <xslo:variable name="raw_heading">
2415
        <xslo:for-each select="marc:subfield">
2416
          <xslo:if test="position() &gt; 1">
2417
            <xslo:value-of select="substring(' ', 1, 1)"/>
2418
          </xslo:if>
2419
          <xslo:value-of select="."/>
2420
        </xslo:for-each>
2421
      </xslo:variable>
2422
      <xslo:value-of select="normalize-space($raw_heading)"/>
2423
    </z:index>
2424
  </xslo:template>
2425
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='620']">
2426
    <z:index name="Subject:w Subject:p">
2427
      <xslo:variable name="raw_heading">
2428
        <xslo:for-each select="marc:subfield">
2429
          <xslo:if test="position() &gt; 1">
2430
            <xslo:value-of select="substring(' ', 1, 1)"/>
2431
          </xslo:if>
2432
          <xslo:value-of select="."/>
2433
        </xslo:for-each>
2434
      </xslo:variable>
2435
      <xslo:value-of select="normalize-space($raw_heading)"/>
2436
    </z:index>
2437
  </xslo:template>
2438
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='621']">
2439
    <z:index name="Subject:w Subject:p">
2440
      <xslo:variable name="raw_heading">
2441
        <xslo:for-each select="marc:subfield">
2442
          <xslo:if test="position() &gt; 1">
2443
            <xslo:value-of select="substring(' ', 1, 1)"/>
2444
          </xslo:if>
2445
          <xslo:value-of select="."/>
2446
        </xslo:for-each>
2447
      </xslo:variable>
2448
      <xslo:value-of select="normalize-space($raw_heading)"/>
2449
    </z:index>
2450
  </xslo:template>
2451
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='670']">
2695
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='670']">
2452
    <z:index name="Subject-precis:w Subject-precis:p">
2696
    <z:index name="Subject-precis:w Subject-precis:p">
2453
      <xslo:variable name="raw_heading">
2697
      <xslo:variable name="raw_heading">
2454
- 

Return to bug 9828