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

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

Return to bug 9828