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 1229-1271 Link Here
1229
    <target_index>Koha-Auth-Number:w</target_index>
1229
    <target_index>Koha-Auth-Number:w</target_index>
1230
    <target_index>Koha-Auth-Number:n</target_index>
1230
    <target_index>Koha-Auth-Number:n</target_index>
1231
  </index_subfields>
1231
  </index_subfields>
1232
  <!--603$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1232
  <!--660$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1233
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="603" subfields="9">
1233
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="660" subfields="9">
1234
    <target_index>Koha-Auth-Number:w</target_index>
1234
    <target_index>Koha-Auth-Number:w</target_index>
1235
    <target_index>Koha-Auth-Number:n</target_index>
1235
    <target_index>Koha-Auth-Number:n</target_index>
1236
  </index_subfields>
1236
  </index_subfields>
1237
  <!--630$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1237
  <!--661$9      Koha-Auth-Number,Koha-Auth-Number:n-->
1238
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="630" subfields="9">
1238
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="661" subfields="9">
1239
    <target_index>Koha-Auth-Number:w</target_index>
1240
    <target_index>Koha-Auth-Number:n</target_index>
1241
  </index_subfields>
1242
  <!--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
  <!--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
  <!--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
  <!--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
  <!--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
  <!--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>
1239
    <target_index>Koha-Auth-Number:w</target_index>
1270
    <target_index>Koha-Auth-Number:n</target_index>
1240
    <target_index>Koha-Auth-Number:n</target_index>
1271
  </index_subfields>
1241
  </index_subfields>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-63 / +4 lines)
Lines 2157-2208 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2157
      </xslo:if>
2157
      </xslo:if>
2158
    </xslo:for-each>
2158
    </xslo:for-each>
2159
  </xslo:template>
2159
  </xslo:template>
2160
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='603']">
2160
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='660']">
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">
2161
    <xslo:for-each select="marc:subfield">
2207
      <xslo:if test="contains('9', @code)">
2162
      <xslo:if test="contains('9', @code)">
2208
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2163
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 2210-2226 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2210
        </z:index>
2165
        </z:index>
2211
      </xslo:if>
2166
      </xslo:if>
2212
    </xslo:for-each>
2167
    </xslo:for-each>
2213
  </xslo:template>
2214
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='635']">
2215
    <xslo:for-each select="marc:subfield">
2168
    <xslo:for-each select="marc:subfield">
2216
      <xslo:if test="contains('9', @code)">
2169
      <xslo:if test="contains('a', @code)">
2217
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2170
        <z:index name="Subject:w Subject:p">
2218
          <xslo:value-of select="."/>
2171
          <xslo:value-of select="."/>
2219
        </z:index>
2172
        </z:index>
2220
      </xslo:if>
2173
      </xslo:if>
2221
    </xslo:for-each>
2174
    </xslo:for-each>
2222
  </xslo:template>
2175
  </xslo:template>
2223
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='636']">
2176
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='661']">
2224
    <xslo:for-each select="marc:subfield">
2177
    <xslo:for-each select="marc:subfield">
2225
      <xslo:if test="contains('9', @code)">
2178
      <xslo:if test="contains('9', @code)">
2226
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2179
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
Lines 2228-2244 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2228
        </z:index>
2181
        </z:index>
2229
      </xslo:if>
2182
      </xslo:if>
2230
    </xslo:for-each>
2183
    </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">
2184
    <xslo:for-each select="marc:subfield">
2243
      <xslo:if test="contains('a', @code)">
2185
      <xslo:if test="contains('a', @code)">
2244
        <z:index name="Subject:w Subject:p">
2186
        <z:index name="Subject:w Subject:p">
2245
- 

Return to bug 9828