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

(-)a/etc/searchengine/queryparser.yaml (-13 / +92 lines)
Lines 1196-1204 field_mappings: Link Here
1196
      label: ''
1196
      label: ''
1197
      aliases:
1197
      aliases:
1198
        - su
1198
        - su
1199
        - su-to
1199
    authority-number:
1200
        - su-geo
1201
        - su-ut
1202
    authority-number:
1200
    authority-number:
1203
      bib1_mapping:
1201
      bib1_mapping:
1204
        biblioserver:
1202
        biblioserver:
Lines 1270-1285 field_mappings: Link Here
1270
      aliases:
1268
      aliases:
1271
        - matchheading
1269
        - matchheading
1272
        - match-heading
1270
        - match-heading
1273
    name-personal:
1274
      bib1_mapping:
1275
        biblioserver:
1276
          1: 1009
1277
      enabled: 1
1278
      index: name-personal
1279
      label: Name-personal
1280
      aliases:
1281
        - name-personal
1282
        - su-na
1283
    index-term-genre:
1271
    index-term-genre:
1284
      bib1_mapping:
1272
      bib1_mapping:
1285
        biblioserver:
1273
        biblioserver:
Lines 1321-1326 field_mappings: Link Here
1321
      label: Start
1309
      label: Start
1322
      aliases:
1310
      aliases:
1323
        - start
1311
        - start
1312
    subject-chronological:
1313
      bib1_mapping:
1314
        biblioserver:
1315
          1: 1077
1316
      enabled: 1
1317
      index: subject-chronological
1318
      label: Subject-chronological
1319
      aliases:
1320
        - subject-chronological
1321
        - su-chrono
1322
    subject-division:
1323
      bib1_mapping:
1324
        biblioserver:
1325
          1: 47
1326
      enabled: 1
1327
      index: subject-division
1328
      label: Subject-division
1329
      aliases:
1330
        - subject-division
1331
    subject-genre-form:
1332
      bib1_mapping:
1333
        biblioserver:
1334
          1: 1075
1335
      enabled: 1
1336
      index: subject-genre-form
1337
      label: Subject-genre-form
1338
      aliases:
1339
        - subject-genre-form
1340
        - su-genre
1341
        - su-form
1342
    subject-name-conference:
1343
      bib1_mapping:
1344
        biblioserver:
1345
          1: 1073
1346
      enabled: 1
1347
      index: subject-name-conference
1348
      label: Subject-name-conference
1349
      aliases:
1350
        - subject-name-conference
1351
        - su-conf
1352
    subject-name-corporate:
1353
      bib1_mapping:
1354
        biblioserver:
1355
          1: 1074
1356
      enabled: 1
1357
      index: subject-name-corporate
1358
      label: Subject-name-corporate
1359
      aliases:
1360
        - subject-name-corporate
1361
        - su-corp
1362
    subject-name-geographical:
1363
      bib1_mapping:
1364
        biblioserver:
1365
          1: 1076
1366
      enabled: 1
1367
      index: subject-name-geographical
1368
      label: Subject-name-geographical
1369
      aliases:
1370
        - subject-name-geographical
1371
        - su-geo
1372
    subject-name-personal:
1373
      bib1_mapping:
1374
        biblioserver:
1375
          1: 1009
1376
      enabled: 1
1377
      index: subject-name-personal
1378
      label: Subject-name-personal
1379
      aliases:
1380
        - subject-name-personal
1381
        - su-na
1382
    subject-title:
1383
      bib1_mapping:
1384
        biblioserver:
1385
          1: 1078
1386
      enabled: 1
1387
      index: subject-title
1388
      label: Subject-title
1389
      aliases:
1390
        - subject-title
1391
        - su-ti
1392
        - su-ut
1393
    subject-topical:
1394
      bib1_mapping:
1395
        biblioserver:
1396
          1: 1079
1397
      enabled: 1
1398
      index: subject-topical
1399
      label: Subject-topical
1400
      aliases:
1401
        - subject-topical
1402
        - su-to
1324
  title:
1403
  title:
1325
    title:
1404
    title:
1326
      bib1_mapping:
1405
      bib1_mapping:
(-)a/etc/zebradb/ccl.properties (-3 / +3 lines)
Lines 739-748 Subject-genre-form 1=1075 Link Here
739
su-genre Subject-genre-form
739
su-genre Subject-genre-form
740
su-form Subject-genre-form
740
su-form Subject-genre-form
741
741
742
#Subject-geographical 1076                                 MARC21 651 ; UNIMARC 607
742
#Subject-name-geographical 1076                            MARC21 651 ; UNIMARC 607
743
#                                                          MARC21 AND UNIMARC 6XX$y
743
#                                                          MARC21 AND UNIMARC 6XX$y
744
Subject-geographical 1=1076
744
Subject-name-geographical 1=1076
745
su-geo Subject-geographical
745
su-geo Subject-name-geographical
746
746
747
#Subject-chronological 1077                                MARC21 and UNIMARC 6XX$z
747
#Subject-chronological 1077                                MARC21 and UNIMARC 6XX$z
748
Subject-chronological 1=1077
748
Subject-chronological 1=1077
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (-34 / +4 lines)
Lines 1231-1273 Link Here
1231
    <target_index>Koha-Auth-Number:w</target_index>
1231
    <target_index>Koha-Auth-Number:w</target_index>
1232
    <target_index>Koha-Auth-Number:n</target_index>
1232
    <target_index>Koha-Auth-Number:n</target_index>
1233
  </index_subfields>
1233
  </index_subfields>
1234
  <!--603$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1234
  <!--660$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1235
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="603" subfields="9">
1235
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="660" subfields="9">
1236
    <target_index>Koha-Auth-Number:w</target_index>
1236
    <target_index>Koha-Auth-Number:w</target_index>
1237
    <target_index>Koha-Auth-Number:n</target_index>
1237
    <target_index>Koha-Auth-Number:n</target_index>
1238
  </index_subfields>
1238
  </index_subfields>
1239
  <!--630$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1239
  <!--661$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1240
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="630" subfields="9">
1240
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="661" subfields="9">
1241
    <target_index>Koha-Auth-Number:w</target_index>
1242
    <target_index>Koha-Auth-Number:n</target_index>
1243
  </index_subfields>
1244
  <!--631$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1245
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="631" subfields="9">
1246
    <target_index>Koha-Auth-Number:w</target_index>
1247
    <target_index>Koha-Auth-Number:n</target_index>
1248
  </index_subfields>
1249
  <!--632$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1250
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="632" subfields="9">
1251
    <target_index>Koha-Auth-Number:w</target_index>
1252
    <target_index>Koha-Auth-Number:n</target_index>
1253
  </index_subfields>
1254
  <!--633$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1255
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="633" subfields="9">
1256
    <target_index>Koha-Auth-Number:w</target_index>
1257
    <target_index>Koha-Auth-Number:n</target_index>
1258
  </index_subfields>
1259
  <!--634$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1260
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="634" subfields="9">
1261
    <target_index>Koha-Auth-Number:w</target_index>
1262
    <target_index>Koha-Auth-Number:n</target_index>
1263
  </index_subfields>
1264
  <!--635$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1265
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="635" subfields="9">
1266
    <target_index>Koha-Auth-Number:w</target_index>
1267
    <target_index>Koha-Auth-Number:n</target_index>
1268
  </index_subfields>
1269
  <!--636$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1270
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="636" subfields="9">
1271
    <target_index>Koha-Auth-Number:w</target_index>
1241
    <target_index>Koha-Auth-Number:w</target_index>
1272
    <target_index>Koha-Auth-Number:n</target_index>
1242
    <target_index>Koha-Auth-Number:n</target_index>
1273
  </index_subfields>
1243
  </index_subfields>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-63 / +4 lines)
Lines 2150-2201 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2150
      </xslo:if>
2150
      </xslo:if>
2151
    </xslo:for-each>
2151
    </xslo:for-each>
2152
  </xslo:template>
2152
  </xslo:template>
2153
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='603']">
2153
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='660']">
2154
    <xslo:for-each select="marc:subfield">
2155
      <xslo:if test="contains('9', @code)">
2156
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2157
          <xslo:value-of select="."/>
2158
        </z:index>
2159
      </xslo:if>
2160
    </xslo:for-each>
2161
  </xslo:template>
2162
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='630']">
2163
    <xslo:for-each select="marc:subfield">
2164
      <xslo:if test="contains('9', @code)">
2165
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2166
          <xslo:value-of select="."/>
2167
        </z:index>
2168
      </xslo:if>
2169
    </xslo:for-each>
2170
  </xslo:template>
2171
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='631']">
2172
    <xslo:for-each select="marc:subfield">
2173
      <xslo:if test="contains('9', @code)">
2174
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2175
          <xslo:value-of select="."/>
2176
        </z:index>
2177
      </xslo:if>
2178
    </xslo:for-each>
2179
  </xslo:template>
2180
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='632']">
2181
    <xslo:for-each select="marc:subfield">
2182
      <xslo:if test="contains('9', @code)">
2183
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2184
          <xslo:value-of select="."/>
2185
        </z:index>
2186
      </xslo:if>
2187
    </xslo:for-each>
2188
  </xslo:template>
2189
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='633']">
2190
    <xslo:for-each select="marc:subfield">
2191
      <xslo:if test="contains('9', @code)">
2192
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2193
          <xslo:value-of select="."/>
2194
        </z:index>
2195
      </xslo:if>
2196
    </xslo:for-each>
2197
  </xslo:template>
2198
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='634']">
2199
    <xslo:for-each select="marc:subfield">
2154
    <xslo:for-each select="marc:subfield">
2200
      <xslo:if test="contains('9', @code)">
2155
      <xslo:if test="contains('9', @code)">
2201
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2156
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 2203-2219 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2203
        </z:index>
2158
        </z:index>
2204
      </xslo:if>
2159
      </xslo:if>
2205
    </xslo:for-each>
2160
    </xslo:for-each>
2206
  </xslo:template>
2207
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='635']">
2208
    <xslo:for-each select="marc:subfield">
2161
    <xslo:for-each select="marc:subfield">
2209
      <xslo:if test="contains('9', @code)">
2162
      <xslo:if test="contains('a', @code)">
2210
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2163
        <z:index name="Subject:w Subject:p">
2211
          <xslo:value-of select="."/>
2164
          <xslo:value-of select="."/>
2212
        </z:index>
2165
        </z:index>
2213
      </xslo:if>
2166
      </xslo:if>
2214
    </xslo:for-each>
2167
    </xslo:for-each>
2215
  </xslo:template>
2168
  </xslo:template>
2216
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='636']">
2169
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='661']">
2217
    <xslo:for-each select="marc:subfield">
2170
    <xslo:for-each select="marc:subfield">
2218
      <xslo:if test="contains('9', @code)">
2171
      <xslo:if test="contains('9', @code)">
2219
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2172
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 2221-2237 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2221
        </z:index>
2174
        </z:index>
2222
      </xslo:if>
2175
      </xslo:if>
2223
    </xslo:for-each>
2176
    </xslo:for-each>
2224
  </xslo:template>
2225
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='660']">
2226
    <xslo:for-each select="marc:subfield">
2227
      <xslo:if test="contains('a', @code)">
2228
        <z:index name="Subject:w Subject:p">
2229
          <xslo:value-of select="."/>
2230
        </z:index>
2231
      </xslo:if>
2232
    </xslo:for-each>
2233
  </xslo:template>
2234
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='661']">
2235
    <xslo:for-each select="marc:subfield">
2177
    <xslo:for-each select="marc:subfield">
2236
      <xslo:if test="contains('a', @code)">
2178
      <xslo:if test="contains('a', @code)">
2237
        <z:index name="Subject:w Subject:p">
2179
        <z:index name="Subject:w Subject:p">
2238
- 

Return to bug 9828