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

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

Return to bug 9828