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

(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (-4 / +19 lines)
Lines 1498-1509 Link Here
1498
    <target_index>Local-classification:w</target_index>
1498
    <target_index>Local-classification:w</target_index>
1499
    <target_index>Local-classification:p</target_index>
1499
    <target_index>Local-classification:p</target_index>
1500
  </index_data_field>
1500
  </index_data_field>
1501
  <!--record.abs line 331: melm 995$2		lost,lost:n,item-->
1501
  <!--record.abs melm 995$1   damaged,damaged:n,item-->
1502
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="1">
1503
    <target_index>damaged:w</target_index>
1504
    <target_index>damaged:n</target_index>
1505
    <target_index>item:w</target_index>
1506
  </index_subfields>
1507
  <!--record.abs melm 995$2    lost,lost:n,item-->
1502
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="2">
1508
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="2">
1503
    <target_index>lost:w</target_index>
1509
    <target_index>lost:w</target_index>
1504
    <target_index>lost:n</target_index>
1510
    <target_index>lost:n</target_index>
1505
    <target_index>item:w</target_index>
1511
    <target_index>item:w</target_index>
1506
  </index_subfields>
1512
  </index_subfields>
1513
  <!--record.abs melm 995$3    withdrawn,withdrawn:n,item-->
1514
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="3">
1515
    <target_index>withdrawn:w</target_index>
1516
    <target_index>withdrawn:n</target_index>
1517
    <target_index>item:w</target_index>
1518
  </index_subfields>
1507
  <!--record.abs line 332: melm 995$a		homebranch,Host-item,item-->
1519
  <!--record.abs line 332: melm 995$a		homebranch,Host-item,item-->
1508
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="a">
1520
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="a">
1509
    <target_index>homebranch:w</target_index>
1521
    <target_index>homebranch:w</target_index>
Lines 1528-1546 Link Here
1528
    <target_index>Record-Source:w</target_index>
1540
    <target_index>Record-Source:w</target_index>
1529
    <target_index>item:w</target_index>
1541
    <target_index>item:w</target_index>
1530
  </index_subfields>
1542
  </index_subfields>
1531
  <!--record.abs line 336: melm 995$e      location,item-->
1543
  <!--record.abs melm 995$e    location,location:p,item-->
1532
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="e">
1544
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="e">
1533
    <target_index>location:w</target_index>
1545
    <target_index>location:w</target_index>
1546
    <target_index>location:p</target_index>
1534
    <target_index>item:w</target_index>
1547
    <target_index>item:w</target_index>
1535
  </index_subfields>
1548
  </index_subfields>
1536
  <!--record.abs line 337: melm 995$f		barcode,item-->
1549
  <!--record.abs line 337: melm 995$f		barcode,barcode:p,item-->
1537
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="f">
1550
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="f">
1538
    <target_index>barcode:w</target_index>
1551
    <target_index>barcode:w</target_index>
1552
    <target_index>barcode:p</target_index>
1539
    <target_index>item:w</target_index>
1553
    <target_index>item:w</target_index>
1540
  </index_subfields>
1554
  </index_subfields>
1541
  <!--record.abs line 338: melm 995$h		ccode,item-->
1555
  <!--record.abs line 338: melm 995$h		ccode,ccode:p,item-->
1542
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="h">
1556
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="995" subfields="h">
1543
    <target_index>ccode:w</target_index>
1557
    <target_index>ccode:w</target_index>
1558
    <target_index>ccode:p</target_index>
1544
    <target_index>item:w</target_index>
1559
    <target_index>item:w</target_index>
1545
  </index_subfields>
1560
  </index_subfields>
1546
  <!--record.abs line 339: melm 995$j      LC-card-number:s,item-->
1561
  <!--record.abs line 339: melm 995$j      LC-card-number:s,item-->
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-3 / +17 lines)
Lines 369-374 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
369
      </xslo:if>
369
      </xslo:if>
370
    </xslo:for-each>
370
    </xslo:for-each>
371
    <xslo:for-each select="marc:subfield">
371
    <xslo:for-each select="marc:subfield">
372
      <xslo:if test="contains('1', @code)">
373
        <z:index name="damaged:w damaged:n item:w">
374
          <xslo:value-of select="."/>
375
        </z:index>
376
      </xslo:if>
377
    </xslo:for-each>
378
    <xslo:for-each select="marc:subfield">
372
      <xslo:if test="contains('2', @code)">
379
      <xslo:if test="contains('2', @code)">
373
        <z:index name="lost:w lost:n item:w">
380
        <z:index name="lost:w lost:n item:w">
374
          <xslo:value-of select="."/>
381
          <xslo:value-of select="."/>
Lines 376-381 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
376
      </xslo:if>
383
      </xslo:if>
377
    </xslo:for-each>
384
    </xslo:for-each>
378
    <xslo:for-each select="marc:subfield">
385
    <xslo:for-each select="marc:subfield">
386
      <xslo:if test="contains('3', @code)">
387
        <z:index name="withdrawn:w withdrawn:n item:w">
388
          <xslo:value-of select="."/>
389
        </z:index>
390
      </xslo:if>
391
    </xslo:for-each>
392
    <xslo:for-each select="marc:subfield">
379
      <xslo:if test="contains('a', @code)">
393
      <xslo:if test="contains('a', @code)">
380
        <z:index name="homebranch:w Host-item:w item:w">
394
        <z:index name="homebranch:w Host-item:w item:w">
381
          <xslo:value-of select="."/>
395
          <xslo:value-of select="."/>
Lines 405-425 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
405
    </xslo:for-each>
419
    </xslo:for-each>
406
    <xslo:for-each select="marc:subfield">
420
    <xslo:for-each select="marc:subfield">
407
      <xslo:if test="contains('e', @code)">
421
      <xslo:if test="contains('e', @code)">
408
        <z:index name="location:w item:w">
422
        <z:index name="location:w location:p item:w">
409
          <xslo:value-of select="."/>
423
          <xslo:value-of select="."/>
410
        </z:index>
424
        </z:index>
411
      </xslo:if>
425
      </xslo:if>
412
    </xslo:for-each>
426
    </xslo:for-each>
413
    <xslo:for-each select="marc:subfield">
427
    <xslo:for-each select="marc:subfield">
414
      <xslo:if test="contains('f', @code)">
428
      <xslo:if test="contains('f', @code)">
415
        <z:index name="barcode:w item:w">
429
        <z:index name="barcode:w barcode:p item:w">
416
          <xslo:value-of select="."/>
430
          <xslo:value-of select="."/>
417
        </z:index>
431
        </z:index>
418
      </xslo:if>
432
      </xslo:if>
419
    </xslo:for-each>
433
    </xslo:for-each>
420
    <xslo:for-each select="marc:subfield">
434
    <xslo:for-each select="marc:subfield">
421
      <xslo:if test="contains('h', @code)">
435
      <xslo:if test="contains('h', @code)">
422
        <z:index name="ccode:w item:w">
436
        <z:index name="ccode:w ccode:p item:w">
423
          <xslo:value-of select="."/>
437
          <xslo:value-of select="."/>
424
        </z:index>
438
        </z:index>
425
      </xslo:if>
439
      </xslo:if>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/record.abs (-15 / +84 lines)
Lines 480-499 melm 680 LC-call-number:w,LC-call-number:p Link Here
480
# Other class numbers // see Marc21 084
480
# Other class numbers // see Marc21 084
481
melm 686		Local-classification:w,Local-classification:p
481
melm 686		Local-classification:w,Local-classification:p
482
482
483
#############"# item information (based on 995) ###############
483
484
melm 995$2		lost,lost:n,item
484
############## KOHA ITEM INFORMATION (based on 995) ###############
485
melm 995$a		homebranch,Host-item,item
485
# Koha specific : $1, $2, $3
486
melm 995$b		homebranch,Host-item,item
486
melm 995$1    damaged,damaged:n
487
melm 995$c		holdingbranch,Record-Source,item
487
melm 995$2    lost,lost:n
488
melm 995$d		holdingbranch,Record-Source,item
488
melm 995$3    withdrawn,withdrawn:n
489
melm 995$e      location,item
489
490
melm 995$f		barcode,item
490
# most subfields are based on "995 recommandation"
491
melm 995$h		ccode,item
491
# used by French libraries for exchanging holding information
492
melm 995$j      LC-card-number:s,item
492
# source: http://www.abes.fr/content/download/1949/8319/version/1/file/pdf_r995.pdf
493
melm 995$k      Call-Number,Local-classification,lcn,Call-Number:p,Local-classification:p,lcn:p,item,Local-classification:s
493
# (last version, 2005)
494
melm 995$n      onloan:d,onloan:n,onloan:s,onloan:w,item
494
# Note that :
495
melm 995$u      Note,Note:p,item
495
# - the use of $e,$h,$j in Koha and in 995 recommandation is different
496
melm  995       item   # just to index every subfield
496
# - $i, $m, $l, $o, $p, $q, $v, $w, $x, $y, $z are defined in 995 recommandation, but not used by Koha
497
498
# 6 blocs of subfields are defined in 995 recommandation
499
500
# 1. Information about origin of the document
501
# $a - Origin of the document, free text
502
# Not used in Sudoc network
503
melm 995$a    homebranch,Host-item,item
504
# $a - Origin of the document, coded information
505
melm 995$b    homebranch,Host-item,item
506
# $c - Lending or holding library - free text
507
melm 995$c    holdingbranch,Record-Source,item
508
# $d - Lending or holding library - coded information
509
melm 995$d    holdingbranch,Record-Source,item
510
511
# 2. Identification and classification
512
# $e - shelving information
513
# (in 995 recommandation : $e - detailed genre)
514
melm 995$e    location,location:p,item
515
# $f - barcode - complete
516
melm 995$f    barcode,barcode:p,item
517
# $h - ccode
518
# (in 995 recommandation : $h - barcode - prefix)
519
melm 995$h    ccode,ccode:p,item
520
# $i - not used currently
521
# (in 995 recommandation : $i - barcode - suffix)
522
# $j - LC-card-number,
523
# (in 995 recommandation : $j - section, i.e. part of a library)
524
melm 995$j    LC-card-number:s,item
525
# $k - callnumber
526
melm 995$k    Call-Number,Local-classification,Call-Number:p,Local-classification:p,Local-classification:s,item
527
# $l - not used currently
528
# (in 995 recommandation : $l - volumes)
529
530
# 3 - Checkout and deposal information
531
# $m - not used currently
532
# (in 995 recommandation : $m - Date of loan or deposit)
533
# $n - Expiration of loan
534
melm 995$n    onloan:d,onloan:n,onloan:s,onloan:w,item
535
# $o - not used currently
536
# (in 995 recommandation : $o - Circulation type (not for loan))
537
538
# 4 - Sorting and statistic information
539
# $p - not used currently
540
# (in 955 recommandation : $p - Serial)
541
# $q - not used currently
542
# (in 995 recommandation : $q - Target audience (age))
543
# $r - Type of document and carriage
544
melm 995$r    itemtype:w,itemtype:p,itype:w,itype:p,item
545
# $s - not used currently
546
# (in 995 recommandation : $s - Sorting element)
547
# $t - not used currently
548
# (in 995 recommandation : $t - Genre : fiction vs non-fiction)
549
550
# 5 - Notes
551
# $u - item note
552
melm 995$u    Note,Note:p,item
553
# $v - not used currently
554
# (in 995 recommandation : $v - serial issue note)
555
556
# 6 - Target of document
557
# $w - not used currently
558
# (in 995 recommandation : $w - target library - free text)
559
# $x - not used currently
560
# (in 995 recommandation : $x - target library - coded information)
561
# $y - not used currently
562
# (in 995 recommandation : $y - target network of libraries - free text)
563
# $z - not used currently
564
# (in 995 recommandation : $z - target network of libraries - coded information)
565
566
melm 995    item   # just to index every subfield
497
567
498
### biblioitems information (based on 942) ######
568
### biblioitems information (based on 942) ######
499
melm 942$0      totalissues:n,totalissues:s
569
melm 942$0      totalissues:n,totalissues:s
500
- 

Return to bug 9830