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

(-)a/debian/templates/marc21-retrieval-info-auth-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="marc21" name="F"/>
4
  <retrieval syntax="marc21" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="marc21" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="marc21" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="marc21" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="marc21" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="marc21" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/debian/templates/marc21-retrieval-info-bib-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="marc21" name="F"/>
4
  <retrieval syntax="marc21" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="marc21" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="marc21" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="marc21" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="marc21" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="marc21" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/debian/templates/normarc-retrieval-info-auth-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="normarc" name="F"/>
4
  <retrieval syntax="normarc" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="normarc" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="normarc" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="normarc" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="normarc" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="normarc" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/debian/templates/normarc-retrieval-info-bib-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="normarc" name="F"/>
4
  <retrieval syntax="normarc" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="normarc" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="normarc" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="normarc" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="normarc" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="normarc" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/debian/templates/unimarc-retrieval-info-auth-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="unimarc" name="F"/>
4
  <retrieval syntax="unimarc" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="unimarc" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="unimarc" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="unimarc" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="unimarc" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="unimarc" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/debian/templates/unimarc-retrieval-info-bib-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="unimarc" name="F"/>
4
  <retrieval syntax="unimarc" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="unimarc" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="unimarc" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="unimarc" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="unimarc" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="unimarc" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/debian/templates/zebra-authorities-site.cfg.in (-61 lines)
Lines 1-61 Link Here
1
2
# Simple Zebra configuration file that defines
3
# a database with MARCXML records.
4
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
5
#
6
# Where are the config files located?
7
profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__
8
9
encoding: UTF-8
10
# modulePath - where to look for loadable zebra modules
11
modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules
12
13
# Files that describe the attribute sets supported.
14
attset: bib1.att
15
attset: explain.att
16
attset: gils.att
17
18
#systag sysno rank
19
20
# Specify record type
21
# group   .recordType[  .name  ]:  type
22
# type is split into fundamental type. file-read-type . argument
23
# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
24
# http://www.indexdata.dk/zebra/doc/grs.tkl
25
26
# Can use -g iso2709 to batch index raw iso2709 records in a single or
27
# multiple files, or marcxml records that are split into separate files
28
# the trailing .record tells zebraidx to use record.abs
29
iso2709.recordType:grs.marcxml.record
30
31
# Can use -g marcxml to batch index marcxml files
32
# zebraidx uses record.abs because of <record> is the root element
33
marcxml.recordType:grs.sgml
34
35
# Koha uses grs.xml internally when updating a single record, no idea
36
# why it knows to use record.abs
37
recordType:grs.xml
38
39
recordId: (bib1,Local-Number)
40
# was auth1
41
storeKeys:1
42
storeData:1
43
44
# Lock File Area
45
lockDir: /var/lock/koha/__KOHASITE__/authorities
46
perm.anonymous:ar
47
perm.kohauser:rw
48
passwd: /etc/koha/sites/__KOHASITE__/zebra.passwd
49
register: /var/lib/koha/__KOHASITE__/authorities/register:20G
50
shadow: /var/lib/koha/__KOHASITE__/authorities/shadow:20G
51
52
# Temp File area for result sets
53
setTmpDir: /var/lib/koha/__KOHASITE__/authorities/tmp
54
55
# Temp File area for index program
56
keyTmpDir: /var/lib/koha/__KOHASITE__/authorities/key
57
58
# Approx. Memory usage during indexing
59
memMax: 50M
60
rank:rank-1
61
(-)a/debian/templates/zebra-biblios-site.cfg.in (-59 lines)
Lines 1-59 Link Here
1
# Simple Zebra configuration file that defines
2
# a database with MARCXML records.
3
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
4
#
5
# Where are the config files located?
6
profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__
7
# modulePath - where to look for loadable zebra modules
8
modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules
9
10
encoding: UTF-8
11
# Files that describe the attribute sets supported.
12
attset: bib1.att
13
attset: explain.att
14
attset: gils.att
15
16
# systag sysno rank
17
18
# Specify record type
19
# group   .recordType[  .name  ]:  type
20
# type is split into fundamental type. file-read-type . argument
21
# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
22
# http://www.indexdata.dk/zebra/doc/grs.tkl
23
24
# Can use -g iso2709 to batch index raw iso2709 records in a single or
25
# multiple files, or marcxml records that are split into separate files
26
# the trailing .record tells zebraidx to use record.abs
27
iso2709.recordType:grs.marcxml.record
28
29
# Can use -g marcxml to batch index marcxml files
30
# zebraidx uses record.abs because of <record> is the root element
31
marcxml.recordType:grs.sgml
32
33
# Koha uses grs.xml internally when updating a single record, no idea
34
# why it knows to use record.abs
35
recordType:grs.xml
36
37
recordId: (bib1,Local-number)
38
storeKeys:1
39
storeData:1
40
41
42
# Lock File Area
43
lockDir: /var/lock/koha/__KOHASITE__/biblios
44
perm.anonymous:ar
45
perm.kohauser:rw
46
passwd: /etc/koha/sites/__KOHASITE__/zebra.passwd
47
register: /var/lib/koha/__KOHASITE__/biblios/register:20G
48
shadow: /var/lib/koha/__KOHASITE__/biblios/shadow:20G
49
50
# Temp File area for result sets
51
setTmpDir: /var/lib/koha/__KOHASITE__/biblios/tmp
52
53
# Temp File area for index program
54
keyTmpDir: /var/lib/koha/__KOHASITE__/biblios/key
55
56
# Approx. Memory usage during indexing
57
memMax: 50M
58
rank:rank-1
59
truncmax: 1000000000
(-)a/etc/zebradb/marc_defs/marc21/authorities/record.abs (-82 lines)
Lines 1-82 Link Here
1
#
2
# NOTE: If you are using the DOM index filter, this configuration file is
3
#       *not* used.  To update the index definitions for the DOM filter,
4
#       edit authority-koha-indexdefs.xml and run
5
#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
6
#                authority-koha-indexdefs.xml \
7
#                > authority-zebra-indexdefs.xsl
8
#
9
# This is a fairly simple set of MARC21 Authority indexing rules
10
encoding utf-8
11
name authorities
12
attset bib1.att
13
attset gils.att
14
esetname F @
15
esetname B @
16
17
marc marc21.mar
18
systag sysno rank
19
xpath enable
20
21
all any
22
melm 001 Local-Number,Local-Number:n,Local-Number:s
23
melm 942$a authtype:w,authtype:p
24
25
# Personal Name
26
melm 100$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
27
melm 100 Personal-name:w,Personal-name:p,Personal-name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
28
melm 400 Personal-name-see-from:w,Personal-name-see-from:p,Personal-name-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
29
melm 500 Personal-name-see-also-from:w,Personal-name-see-also-from:p,Personal-name-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
30
31
# Corporate Name
32
melm 110$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
33
melm 110 Corporate-name:w,Corporate-name:p,Corporate-name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
34
melm 410 Corporate-name-see-from:w,Corporate-name-see-from:p,Corporate-name-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
35
melm 510 Corporate-name-see-also-from:w,Corporate-name-see-also-from:p,Corporate-name-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
36
37
# Meeting Name
38
melm 111$a Meeting-name-heading:w,Meeting-name-heading:p,Meeting-name-heading:s,Meeting-name:w,Meeting-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
39
melm 111 Meeting-name:w,Meeting-name:p,Meeting-name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
40
melm 411 Meeting-name-see-from:w,Meeting-name-see-from:p,Meeting-name-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
41
melm 511 Meeting-name-see-also-from:w,Meeting-name-see-also-from:p,Meeting-name-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
42
43
# Uniform Title
44
melm 130$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
45
melm 130 Title-uniform:w,Title-uniform:p,Title-uniform:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
46
melm 431 Title-uniform-see-from:w,Title-uniform-see-from:p,Title-uniform-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
47
melm 531 Title-uniform-see-also-from:w,Title-uniform-see-also-from:p,Title-uniform-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
48
49
# Chronological Term
50
melm 148$a Chronological-term-heading:w,Chronological-term-heading:p,Chronological-term-heading:s,Chronological-term:w,Chronological-term:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s
51
melm 148 Chronological-term:w,Chronological-term:p,Chronological-term:s,Heading:w,Heading:p,Heading:s
52
melm 448 Chronological-term-see-from:w,Chronological-term-see-from:p,Chronological-term-see-from:s,See-from:w,See-from:p,See-from:s
53
melm 548 Chronological-term-see-also-from:w,Chronological-term-see-also-from:p,Chronological-term-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s
54
55
# Topical Term
56
melm 150$a Subject-topical-heading:w,Subject-topical-heading:p,Subject-topical-heading:s,Subject-topical:w,Subject-topical:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
57
melm 150 Subject-topical:w,Subject-topical:p,Subject-topical:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
58
melm 450 Subject-topical-see-from:w,Subject-topical-see-from:p,Subject-topical-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
59
melm 550 Subject-topical-see-also-from:w,Subject-topical-see-also-from:p,Subject-topical-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
60
61
# Geographic Name
62
melm 151$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
63
melm 151 Name-geographic:w,Name-geographic:p,Name-geographic:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
64
melm 451 Name-geographic-see-from:w,Name-geographic-see-from:p,Name-geographic-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
65
melm 551 Name-geographic-see-also-from:w,Name-geographic-see-also-from:p,Name-geographic-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
66
67
# Genre/Form Term
68
melm 155$a Term-genre-form-heading:w,Term-genre-form-heading:p,Term-genre-form-heading:s,Term-genre-form:w,Term-genre-form:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
69
melm 155 Term-genre-form:w,Term-genre-form:p,Term-genre-form:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
70
melm 455 Term-genre-form-see-from:w,Term-genre-form-see-from:p,Term-genre-form-see-from:s,See-from:w,See-from:p,See-from:s,Match:w,Match:p
71
melm 555 Term-genre-form-see-also-from:w,Term-genre-form-see-also-from:p,Term-genre-form-see-also-from:s,See-also-from:w,See-also-from:p,See-also-from:s,Match:w,Match:p
72
73
# NOTE: subdivisions management missing from Koha
74
# General Subdivision
75
melm 180 General-subdivision,Heading:w,Heading:p,Heading:s
76
# Geographic Subdivision
77
melm 181 Geographic-subdivision,Heading:w,Heading:p,Heading:s
78
# Chronological Subdivision
79
melm 182 Chronological-subdivision,Heading:w,Heading:p,Heading:s
80
# Form Subdivision
81
melm 185 Form-subdivision,Heading:w,Heading:p,Heading:s
82
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-331 lines)
Lines 1-331 Link Here
1
#
2
# NOTE: If you are using the DOM index filter, this configuration file is
3
#       *not* used.  To update the index definitions for the DOM filter,
4
#       edit biblio-koha-indexdefs.xml and run
5
#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
6
#                biblio-koha-indexdefs.xml \
7
#                > biblio-zebra-indexdefs.xsl
8
#
9
# This is a fairly simple example of a set of MARC21 indexing rules. It
10
# results in a server which provides a passable Bath level 0 and 1 service
11
# (author, title, subject, keyword and exact services). Feel free to
12
# elaborate on it, and if you do, please consider sharing your additions.
13
# NOTE: This is designed to be used with the grs.marcxml input filter
14
# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
15
# won't work for the old grs.marc input filter, which yields a different
16
# internal structure.
17
encoding utf-8
18
name marc21
19
attset bib1.att
20
attset gils.att
21
esetname F @
22
esetname B @
23
24
marc marc21.mar
25
systag sysno rank
26
xpath enable
27
# Some notes:
28
# pl = Published Place
29
# ta = Target Audience 002/22
30
# ff8-23
31
# lf = Literary Form 008/33
32
# bio = Biography 008/34
33
# fmt = Format
34
# ln = Language
35
# ctype = Content type: review, catalog, encyclopedia, dictionary
36
# pubdate Publication Date
37
# rtype =  Record type (leader 06)
38
#
39
# Date indexing in Koha 3.0 for MARC21:
40
# Index                   Expected format         Notes
41
# date-entered-on-file    [yymmdd]        (008/0-5, indexed in word and sort indexes)
42
# copydate                [yyyy]          (260$c, indexed in word and sort indexes)
43
# acqdate                 [yyyy-mm-dd]    (952$d, indexed in date,word,sort indexes)
44
# pubdate                 [yyyy]          (008/7-10, indexed in year,word,num,sort indexes)
45
46
all any
47
# melm 000      rtype:n:range(data,06,1),Bib-level:w:range(data,07,01)
48
xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)
49
# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
50
51
melm 001        Control-number
52
melm 005        Date/time-last-modified
53
melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
54
55
melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:w:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
56
57
melm 010        LC-card-number,Identifier-standard
58
melm 011        LC-card-number,Identifier-standard
59
melm 015        BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
60
melm 017        Number-legal-deposit,Identifier-standard
61
melm 018        Identifier-standard
62
melm 020$a      ISBN:w,Identifier-standard:w
63
melm 020        Identifier-standard
64
melm 022$a      ISSN:w,Identifier-standard:w
65
melm 022        Identifier-standard
66
melm 023        Identifier-standard
67
melm 024$a      Identifier-other
68
melm 024        Identifier-standard
69
melm 025        Identifier-standard
70
melm 027        Report-number,Identifier-standard
71
melm 028        Identifier-publisher-for-music,Identifier-standard
72
melm 030        CODEN,Identifier-standard
73
#melm 033       Date
74
melm 034        Map-scale
75
melm 035        Other-control-number
76
melm 037        Identifier-standard,Stock-number
77
melm 040        Code-institution,Record-source
78
melm 041$a      ln,ln-audio:w
79
melm 041$d      ln
80
melm 041$e      ln
81
melm 041$h      language-original
82
melm 041$j      ln,ln-subtitle:w
83
melm 043        Code-geographic
84
#melm 046       pubdate
85
melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
86
melm 050        LC-call-number:w,LC-call-number:p,LC-call-number:s
87
melm 052        Geographic-class
88
melm 060        NLM-call-number
89
melm 070        NAL-call-number
90
melm 080        UDC-classification
91
melm 082        Dewey-classification:w,Dewey-classification:s
92
melm 086        Number-govt-pub
93
#melm 942$k     LC-card-number:s
94
95
## KOHA SPECIFIC
96
#melm 090$c     Local-number:w
97
#Identifier-standard:w
98
99
melm 100$9      Cross-Reference:w,Koha-Auth-Number
100
melm 100$a      Author,Author:p,Author:s,Editor,Author-personal-bibliography,Author-personal-bibliography:p,Author-personal-bibliography:s
101
melm 100        Author,Author:p,Author:s,Author-title,Author-name-personal,Name,Name-and-title,Personal-name
102
melm 110$9      Koha-Auth-Number
103
melm 110        Author,Author:p,Author:s,Author-title,Author-name-corporate,Name,Name-and-title,Corporate-name
104
melm 111$9      Koha-Auth-Number
105
melm 111        Author,Author:p,Author:s,Author-title,Author-name-corporate,Name,Name-and-title,Conference-name
106
melm 130$n      Thematic-number
107
melm 130$r      Music-key
108
melm 130$9      Koha-Auth-Number
109
melm 130        Title,Title:p,Title-uniform
110
111
melm 210        Title,Title:p,Title-abbreviated
112
melm 211        Title,Title:p,Title-abbreviated
113
melm 212        Title,Title:p,Title-other-variant
114
melm 214        Title,Title:p,Title-expanded
115
melm 222        Title,Title:p,Title-key
116
melm 240$r      Music-key
117
melm 240$n      Thematic-number
118
melm 240        Title:w,Title:p,Title-uniform
119
melm 243$n      Thematic-number
120
melm 243$r      Music-key
121
melm 243        Title:w,Title:p,Title-collective
122
melm 245$a      Title-cover:w,Title-cover:p,Title-cover:s,Title:w,Title:p,Title:s
123
melm 245$c      Author,Author-in-order:w,Author-in-order:p,Author-in-order:s
124
melm 245$9      Cross-Reference:w,Koha-Auth-Number
125
melm 245        Title:w,Title:p
126
melm 246        Title,Title:p,Title-abbreviated,Title-expanded,Title-former
127
melm 247        Title,Title:p,Title-former,Title-other-variant,Related-periodical
128
melm 260$a      pl:w,pl:p
129
melm 260$b      Publisher:w,Publisher:p
130
melm 260$c      copydate,copydate:s
131
melm 260        pl
132
melm 300        Extent:w,Extent:p
133
melm 400$a      Name-and-title
134
melm 400$t      Author-title,Name-and-title,Title,Title-series
135
melm 400$9      Koha-Auth-Number
136
melm 400        Author,Author-name-personal,Name,Personal-name
137
melm 410$a      Name-and-title
138
melm 410$t      Author-title,Title,Title-series
139
melm 410$9      Koha-Auth-Number
140
melm 410        Author,Corporate-name
141
#melm 410        Author-name-corporate,Name
142
melm 411$a      Name-and-title
143
#melm 411$t     title,author,Author-title,Title-series
144
melm 411$t      Author-title,Title-series
145
melm 411        Author,Conference-name
146
#melm 411       author,Author-name-corporate,Name
147
#melm 411        Author-name-corporate,Name
148
melm 440$a      Title-series:w,Title-series:p
149
melm 440$9      Koha-Auth-Number
150
melm 440        Title-series:w,Title-series:p,Title,Title-series
151
melm 490$a      Title-series:w,Title-series:p
152
melm 490$9      Koha-Auth-Number
153
melm 490        Title,Title-series
154
155
melm 500        Note:w,Note:p
156
melm 502        Material-type
157
melm 505$r      Author
158
melm 505$t      Title
159
melm 505        Note:w,Note:p
160
melm 510        Indexed-by
161
melm 520        Abstract:w,Abstract:p
162
melm 521$a      lexile-number:w,lexile-number:p,lexile-number:n
163
melm 526$c      arl,arl:n
164
melm 526$d      arp,arp:n
165
#melm 533$d     pubdate,pubdate:s
166
#melm 541$d     Date-of-acquisition,Date-of-acquisition:s
167
melm 590        Note:w,Note:p
168
169
melm 600$a      Name-and-title,Name,Personal-name,Subject-name-personal,Subject,Subject:p
170
melm 600$t      Name-and-title,Title,Subject,Subject:p
171
melm 600$9      Koha-Auth-Number
172
#melm 600       Name,Personal-name,Subject-heading,Subject-name-personal
173
melm 600        Name,Personal-name,Subject-name-personal,Subject,Subject:p
174
melm 610$a      Name-and-title,Subject,Subject:p
175
melm 610$t      Name-and-title,Title,Subject,Subject:p
176
melm 610$9      Koha-Auth-Number
177
melm 610        Name,Subject,Subject:p,Corporate-name
178
melm 611$a      Name-and-title,Subject,Subject:p
179
melm 611$t      Name-and-title,Title,Subject,Subject:p
180
melm 611$9      Koha-Auth-Number
181
melm 611        Conference-name,Name,Subject,Subject:p
182
melm 630$n      Thematic-number,Subject,Subject:p
183
melm 630$r      Music-key,Subject,Subject:p
184
melm 630$9      Koha-Auth-Number
185
melm 630        Subject,Subject:p
186
melm 650$9      Koha-Auth-Number
187
melm 650        Subject,Subject:p
188
melm 651$9      Koha-Auth-Number
189
melm 651        Name-geographic,Subject,Subject:p
190
melm 652$9      Koha-Auth-Number
191
#melm 652       subject-heading,subject-heading:p
192
melm 653$a      Index-term-uncontrolled:w,Index-term-uncontrolled:p,Subject,Subject:p
193
melm 653$9      Koha-Auth-Number
194
melm 653        Subject,Subject:p
195
melm 654$9      Koha-Auth-Number
196
melm 654        Subject,Subject:p
197
melm 655$a      Index-term-genre:w,Index-term-genre:p,Subject,Subject:p
198
melm 655$9      Koha-Auth-Number
199
melm 655        Subject,Subject:p
200
melm 656$9      Koha-Auth-Number
201
melm 656        Subject,Subject:p
202
melm 657$9      Koha-Auth-Number
203
melm 657        Subject,Subject:p
204
melm 658$a      curriculum:w,curriculum:p,Subject,Subject:p
205
melm 658$b      curriculum:w,curriculum:p,Subject,Subject:p
206
melm 658$c      curriculum:w,curriculum:p,Subject,Subject:p
207
melm 658        Subject,Subject:p
208
melm 690$9      Koha-Auth-Number
209
melm 690        Subject,Subject:p
210
211
melm 700$9      Cross-Reference,Koha-Auth-Number
212
melm 700$a      Author,Author:p
213
melm 700$n      Thematic-number
214
melm 700$r      Music-key
215
#melm 700$t     author,Author-title,Name-and-title,Title,Title-uniform
216
melm 700$t      Author-title,Name-and-title,Title,Title-uniform
217
melm 700        Author,Author:p,Author-name-personal,Name,Editor,Personal-name
218
#melm 710$t     author,Author-title,Name-and-title,Title,Title-uniform
219
melm 710$t      Author-title,Name-and-title,Title,Title-uniform
220
#melm 710$a     author,author:p,Name-and-title
221
melm 710$a      Name-and-title
222
melm 710$9      Koha-Auth-Number
223
melm 710        Author,Author:p,Corporate-name,Name
224
melm 711$a      Name-and-title
225
#melm 711$t     author,Author-title,Title,Title-uniform
226
melm 711$t      Author-title,Title,Title-uniform
227
melm 711$9      Koha-Auth-Number
228
#melm 711       author,Author-name-corporate,Name,Conference-name
229
melm 711        Author,Author:p,Author-name-corporate,Name,Conference-name
230
melm 730$n      Thematic-number
231
melm 730$r      Music-key
232
melm 730$9      Koha-Auth-Number
233
melm 730        Title,Title:p,Title-uniform
234
melm 740        Title,Title:p,Title-other-variant
235
melm 751$a      Name-geographic
236
melm 751$9      Koha-Auth-Number
237
melm 751        Name-geographic
238
melm 770$w      Record-control-number
239
melm 772$w      Record-control-number
240
melm 773$a      Host-item
241
melm 773$9	Host-Item-Number
242
melm 773$t      Host-item
243
melm 773$w      Record-control-number
244
melm 774$w      Record-control-number
245
melm 775$w      Record-control-number
246
melm 776$w      Record-control-number
247
melm 777$w      Record-control-number
248
melm 780$t      Title
249
melm 780$w      Record-control-number
250
melm 780        Title,Title:p,Title-former,Related-periodical
251
melm 785$w      Record-control-number
252
melm 785        Title,Title:p,Title-later,Related-periodical
253
melm 787$w      Record-control-number
254
255
melm 800$a      Name-and-title,Title-series:w,Title-series:p
256
#melm 800$t     author,Author-title,Name-and-title,Title,Title-series
257
melm 800$t      Author-title,Name-and-title,Title,Title-series:w,Title-series:p
258
melm 800$9      Koha-Auth-Number
259
melm 800$w      Record-control-number
260
melm 800        Author,Author-name-personal,Name,Personal-name
261
melm 810$a      Name-and-title,Title-series:w,Title-series:p
262
melm 810$t      Author-title,Name-and-title,Title,Title-series:w,Title-series:p
263
melm 810$w      Record-control-number
264
melm 810$9      Koha-Auth-Number
265
melm 810        Author,Corporate-name,Author-name-corporate,Name
266
melm 811$a      Name-and-title,Title-series:w,Title-series:p
267
melm 811$9      Koha-Auth-Number
268
#melm 811$t     author,Author-title,Name-and-title,Title,Title-series
269
melm 811$t      Author-title,Name-and-title,Title,Title-series:w,Title-series:p
270
melm 811$w      Record-control-number
271
melm 811        Author,Author-name-corporate,Name,Conference-name
272
melm 830$w      Record-control-number
273
melm 830$9      Koha-Auth-Number
274
melm 830        Title,Title-series:w,Title-series:p
275
melm 840        Title,Title-series:w,Title-series:p
276
277
###############################
278
# Koha Local-Use Biblio Indexes
279
melm 999$c      Local-Number:n,Local-Number:w,Local-Number:s
280
melm 999$d      biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s
281
melm 942$0      totalissues:n,totalissues:s
282
melm 942$2      cn-bib-source
283
melm 942$6      cn-bib-sort:n,cn-bib-sort:s
284
melm 942$c      itemtype:w,itemtype:p,itype:w,itype:p
285
melm 942$n      Suppress:w,Suppress:n
286
287
# need to check bib1
288
melm 942$h      cn-class
289
melm 942$i      cn-item
290
melm 942$k      cn-prefix
291
melm 942$m      cn-suffix
292
293
# Items Indexes
294
melm 952$0      withdrawn:n,withdrawn:w
295
melm 952$1      lost,lost:n
296
melm 952$2      classification-source
297
melm 952$3      materials-specified
298
melm 952$4      damaged:n,damaged:w
299
melm 952$5      restricted:n,restricted:w
300
melm 952$6      cn-sort:n,cn-sort:s
301
melm 952$7      notforloan:n,notforloan:w
302
melm 952$8      ccode:w,ccode:p
303
melm 952$9      itemnumber:n,itemnumber:s
304
melm 952$a      homebranch
305
melm 952$b      holdingbranch
306
melm 952$c      location
307
308
#dateaccessioned
309
melm 952$d      Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
310
melm 952$e      acqsource
311
melm 952$f      coded-location-qualifier
312
melm 952$g      price
313
#melm 952$h     
314
melm 952$i      Number-local-acquisition
315
melm 952$j      stack:n,stack:w
316
#melm 952$k     
317
melm 952$l      issues:n,issues:w,issues:s
318
melm 952$m      renewals:n,renewals:w
319
melm 952$n      reserves:n,reserves:w
320
melm 952$o      Local-classification:w,Local-classification:p,Local-classification:s
321
melm 952$p      barcode,barcode:n
322
melm 952$q      onloan:n,onloan:w
323
melm 952$r      datelastseen
324
melm 952$s      datelastborrowed
325
melm 952$t      copynumber
326
melm 952$u      uri:u
327
melm 952$v      replacementprice
328
melm 952$w      replacementpricedate
329
#melm 952$x
330
melm 952$y      itype:w,itype:p
331
melm 952$z      Note:w,Note:p
(-)a/etc/zebradb/marc_defs/normarc/biblios/record.abs (-327 lines)
Lines 1-327 Link Here
1
# This is an attemptat creating inedxing rules for MARC records in the
2
# Norwegian format NORMARC. The format is documented here (in Norwegian):
3
# http://www.nb.no/fag/kompetansesenter/kunnskapsorganisering/dnk/normarc
4
#
5
# This file was created by Magnus Enger Libriotech http://libriotech.no/
6
#
7
# ABBREVIATIONS
8
#
9
# NiN = Not in Normarc (these will be removed at a later date)
10
#
11
# NOTES
12
#
13
# There is a conflict between the practices of Koha and the definition of
14
# NORMARC, where $9 is used for Koha-Auth-Number by Koha, and to denote
15
# language by NORMARC. This concerns these fields:
16
# 650, 651, 652, 653, 655, 656
17
# For the time being, these are still indexed as Koha-Auth-Number
18
#
19
# TODO
20
#
21
# Add NORMARC-specific fields: 019, 531, 532, 539, 571, 572, 573, 574, 640
22
# Consider fields where NORMARC and MARC21 differ complettely: 652, 658, more?
23
# Consider the fields 09X, 59X, 69X, 79X, 99X
24
# Consider whether 246 and 510 are equvalent in NORMARC and MARC21
25
26
# NOTE: This is designed to be used with the grs.marcxml input filter
27
# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
28
# won't work for the old grs.marc input filter, which yields a different
29
# internal structure.
30
31
encoding utf-8
32
name marc21
33
attset bib1.att
34
attset gils.att
35
esetname F @
36
esetname B @
37
38
marc normarc.mar
39
systag sysno rank
40
xpath enable
41
# Some notes:
42
# pl = Published Place
43
# ta = Target Audience 002/22
44
# ff8-23
45
# lf = Literary Form 008/33
46
# bio = Biography 008/34
47
# fmt = Format
48
# ln = Language
49
# ctype = Content type: review, catalog, encyclopedia, dictionary
50
# pubdate Publication Date
51
# rtype =  Record type (leader 06)
52
#
53
# Date indexing in Koha 3.0 for MARC21:
54
# Index                   Expected format         Notes
55
# date-entered-on-file    [yymmdd]        (008/0-5, indexed in word and sort indexes)
56
# copydate                [yyyy]          (260$c, indexed in word and sort indexes)
57
# acqdate                 [yyyy-mm-dd]    (952$d, indexed in date,word,sort indexes)
58
# pubdate                 [yyyy]          (008/7-10, indexed in year,word,num,sort indexes)
59
60
all any
61
62
# TODO
63
# melm 000      rtype:n:range(data,06,1),Bib-level:w:range(data,07,01)
64
xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)
65
# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
66
67
melm 001        Control-number
68
# NiN melm 005        Date/time-last-modified
69
70
# TODO
71
melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
72
73
# TODO
74
melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
75
76
melm 010        LC-card-number,Identifier-standard
77
# NiN melm 011        LC-card-number,Identifier-standard
78
melm 015        BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
79
# NiN melm 017        Number-legal-deposit,Identifier-standard
80
# NiN melm 018        Identifier-standard
81
melm 020$a      ISBN:w,Identifier-standard:w
82
melm 020        ISBN,Identifier-standard
83
melm 022$a      ISSN:w,ISBN:w
84
melm 022        ISSN,Identifier-standard
85
# NiN melm 023        Identifier-standard
86
melm 024        Identifier-standard
87
melm 025        Identifier-standard
88
melm 027        Report-number,Identifier-standard
89
melm 028        Identifier-publisher-for-music,Identifier-standard
90
melm 030        CODEN,Identifier-standard
91
#melm 033       Date
92
# NiN melm 034        Map-scale
93
#melm 035       Local-number,Identifier-standard
94
# NiN melm 037        Identifier-standard,Stock-number
95
melm 040        Code-institution,Record-source
96
melm 041        ln
97
melm 043        Code-geographic
98
#melm 046       pubdate
99
# NiN melm 050$b      LC-call-number:w,LC-call-number:p,LC-call-number:s
100
# NiN melm 050        LC-call-number:w,LC-call-number:p,LC-call-number:s
101
# NiN melm 052        Geographic-class
102
melm 060        NLM-call-number
103
# NiN melm 070        NAL-call-number
104
melm 080        UDC-classification
105
melm 082        Dewey-classification:w,Dewey-classification:s
106
# NiN melm 086        Number-govt-pub
107
#melm 942$k     LC-card-number:s
108
109
## KOHA SPECIFIC
110
#melm 090$c     Local-number:w
111
#Identifier-standard:w
112
113
melm 100$9      Cross-Reference:w,Koha-Auth-Number
114
melm 100$a      Author,Author:p,Author:s,Editor,Author-personal-bibliography,Author-personal-bibliography:p,Author-personal-bibliography:s
115
melm 100        Author,Author-title,Author-name-personal,Name,Name-and-title,Personal-name
116
melm 110$9      Koha-Auth-Number
117
melm 110        Author,Author-title,Author-name-corporate,Name,Name-and-title,Corporate-name
118
melm 111$9      Koha-Auth-Number
119
melm 111        Author,Author-title,Author-name-corporate,Name,Name-and-title,Conference-name
120
melm 130$i      Thematic-number
121
melm 130$n      Thematic-number
122
melm 130$r      Music-key
123
melm 130$9      Koha-Auth-Number
124
melm 130        Title,Title-uniform
125
126
melm 210        Title,Title-abbreviated
127
# NiN melm 211        Title,Title-abbreviated
128
# NiN melm 212        Title,Title-other-variant
129
# NiN melm 214        Title,Title-expanded
130
melm 222        Title,Title-key
131
melm 240$i      Thematic-number
132
melm 240$r      Music-key
133
melm 240$n      Thematic-number
134
melm 240        Title:w,Title:p,Title-uniform
135
# NiN melm 243$n      Thematic-number
136
# NiN melm 243$r      Music-key
137
# NiN melm 243        Title:w,Title:p,Title-collective
138
melm 245$a      Title-cover:w,Title-cover:p,Title-cover:s,Title:w,Title:p,Title:s
139
melm 245$c      Author,Author-in-order:w,Author-in-order:p,Author-in-order:s
140
melm 245$9      Cross-Reference:w,Koha-Auth-Number
141
melm 245        Title:w,Title:p
142
melm 246        Title,Title:p,Title-abbreviated,Title-expanded,Title-former
143
# NiN melm 247        Title,Title:p,Title-former,Title-other-variant,Related-periodical
144
melm 260$a      pl:w,pl:p
145
melm 260$b      Publisher:w,Publisher:p
146
melm 260$c      copydate,copydate:s
147
melm 260        pl
148
melm 300        Extent:w,Extent:p
149
# NiN melm 400$a      Name-and-title
150
# NiN melm 400$t      Author-title,Name-and-title,Title,Title-series
151
# NiN melm 400$9      Koha-Auth-Number
152
# NiN melm 400        Author,Author-name-personal,Name,Personal-name
153
# NiN melm 410        Author,Corporate-name
154
# NiN melm 410$a      Name-and-title
155
# NiN melm 410$t      Author-title,Title,Title-series
156
# NiN melm 410$9      Koha-Auth-Number
157
# NiN melm 410        Author-name-corporate,Name
158
# NiN melm 411        Author,Conference-name
159
# NiN melm 411$a      Name-and-title
160
# NiN #melm 411$t     title,author,Author-title,Title-series
161
# NiN melm 411$t      Author-title,Title-series
162
# NiN #melm 411       author,Author-name-corporate,Name
163
# NiN melm 411        Author-name-corporate,Name
164
melm 440$a      Title-series:w,Title-series:p
165
melm 440$9      Koha-Auth-Number
166
melm 440        Title-series:w,Title-series:p,Title,Title-series
167
melm 490$a      Title-series:w,Title-series:p
168
melm 490        Title,Title-series
169
melm 490$9      Koha-Auth-Number
170
171
melm 502        Material-type
172
# NiN melm 505$r      Author
173
# NiN melm 505$t      Title
174
melm 505        Note:w,Note:p
175
melm 510        Indexed-by
176
melm 520        Abstract:w,Abstract:p
177
#melm 533$d     pubdate,pubdate:s
178
#melm 541$d     Date-of-acquisition,Date-of-acquisition:s
179
180
melm 600$a      Name-and-title,Name,Personal-name,Subject-name-personal,Subject,Subject:p
181
melm 600$t      Name-and-title,Title,Subject,Subject:p
182
melm 600$9      Koha-Auth-Number
183
#melm 600       Name,Personal-name,Subject-heading,Subject-name-personal
184
melm 600        Name,Personal-name,Subject-name-personal,Subject,Subject:p
185
melm 610$a      Name-and-title,Subject,Subject:p
186
melm 610$t      Name-and-title,Title,Subject,Subject:p
187
melm 610$9      Koha-Auth-Number
188
melm 610        Name,Subject,Corporate-name,Subject,Subject:p
189
melm 611        Conference-name,Subject,Subject:p
190
melm 611$a      Name-and-title,Subject,Subject:p
191
melm 611$t      Name-and-title,Title,Subject,Subject:p
192
melm 611$9      Koha-Auth-Number
193
melm 611        Name,Subject,Subject:p
194
melm 630$i      Thematic-number,Subject,Subject:p
195
melm 630$n      Thematic-number,Subject,Subject:p
196
melm 630$r      Music-key,Subject,Subject:p
197
melm 630$9      Koha-Auth-Number
198
melm 630        Subject,Subject:p
199
melm 650$9      Koha-Auth-Number
200
melm 650        Subject,Subject:p
201
melm 651$9      Koha-Auth-Number
202
melm 651        Name-geographic,Subject,Subject:p
203
melm 652$9      Koha-Auth-Number
204
#melm 652       subject-heading,subject-heading:p
205
melm 653$9      Koha-Auth-Number
206
melm 653        Subject,Subject:p
207
melm 654$9      Koha-Auth-Number
208
melm 654        Subject,Subject:p
209
melm 655$9      Koha-Auth-Number
210
melm 655        Subject,Subject:p
211
melm 656$9      Koha-Auth-Number
212
melm 656        Subject,Subject:p
213
melm 657$9      Koha-Auth-Number
214
melm 657        Subject,Subject:p
215
melm 690$9      Koha-Auth-Number
216
melm 690        Subject,Subject:p
217
218
melm 700$9      Cross-Reference,Koha-Auth-Number
219
melm 700$a      Author,Author:p
220
melm 700$i      Thematic-number
221
melm 700$n      Thematic-number
222
melm 700$r      Music-key
223
#melm 700$t     author,Author-title,Name-and-title,Title,Title-uniform
224
melm 700$t      Author-title,Name-and-title,Title,Title-uniform
225
melm 700        Author,Author-name-corporate,Author-name-personal,Name,Editor,Personal-name
226
melm 710        Author,Corporate-name
227
#melm 710$t     author,Author-title,Name-and-title,Title,Title-uniform
228
melm 710$t      Author-title,Name-and-title,Title,Title-uniform
229
#melm 710$a     author,author:p,Name-and-title
230
melm 710$a      Name-and-title
231
melm 710$i      Thematic-number
232
melm 710$9      Koha-Auth-Number
233
#melm 710       author,Name
234
melm 710        Author,Name
235
melm 711$a      Name-and-title
236
#melm 711$t     author,Author-title,Title,Title-uniform
237
melm 711$t      Author-title,Title,Title-uniform
238
melm 711$9      Koha-Auth-Number
239
#melm 711       author,Author-name-corporate,Name,Conference-name
240
melm 711        Author-name-corporate,Name,Conference-name
241
melm 730$i      Thematic-number
242
melm 730$n      Thematic-number
243
melm 730$r      Music-key
244
melm 730$9      Koha-Auth-Number
245
melm 730        Title,Title-uniform
246
melm 740        Title,Title-other-variant
247
melm 773$a      Host-item
248
melm 773$9	    Host-Item-Number
249
melm 773$t      Host-item
250
melm 773$w      Record-control-number
251
melm 780$t      Title
252
melm 780        Title,Title-former,Related-periodical
253
melm 785        Related-periodical
254
255
melm 800$a      Name-and-title
256
#melm 800$t     author,Author-title,Name-and-title,Title,Title-series
257
melm 800$t      Author-title,Name-and-title,Title,Title-series
258
melm 800$9      Koha-Auth-Number
259
melm 800        Author,Author-name-personal,Name,Personal-name
260
melm 810$a      Name-and-title
261
melm 810$t      Author-title,Name-and-title,Title,Title-series
262
melm 810$9      Koha-Auth-Number
263
melm 810        Author,Corporate-name,Author-name-corporate,Name
264
melm 811$a      Name-and-title
265
melm 811$9      Koha-Auth-Number
266
#melm 811$t     author,Author-title,Name-and-title,Title,Title-series
267
melm 811$t      Author-title,Name-and-title,Title,Title-series
268
melm 811        Author,Author-name-corporate,Name,Conference-name
269
melm 830$9      Koha-Auth-Number
270
melm 830        Title,Title-series
271
# NiN melm 840        Title,Title-series
272
273
###############################
274
# Koha Local-Use Biblio Indexes
275
melm 999$c      Local-Number:n,Local-Number:w,Local-Number:s
276
melm 999$d      biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s
277
melm 942$0      totalissues:n,totalissues:s
278
melm 942$2      cn-bib-source
279
melm 942$6      cn-bib-sort:n,cn-bib-sort:s
280
melm 942$c      itemtype:w
281
melm 942$n      Suppress:w,Suppress:n
282
283
# need to check bib1
284
melm 942$h      cn-class
285
melm 942$i      cn-item
286
melm 942$k      cn-prefix
287
melm 942$m      cn-suffix
288
289
# Items Indexes
290
melm 952$0      withdrawn:n,withdrawn:w
291
melm 952$1      lost,lost:n
292
melm 952$2      classification-source
293
melm 952$3      materials-specified
294
melm 952$4      damaged:n,damaged:w
295
melm 952$5      restricted:n,restricted:w
296
melm 952$6      cn-sort:n,cn-sort:s
297
melm 952$7      notforloan:n,notforloan:w
298
melm 952$8      ccode
299
melm 952$9      itemnumber:n,itemnumber:s
300
melm 952$a      homebranch
301
melm 952$b      holdingbranch
302
melm 952$c      location
303
304
#dateaccessioned
305
melm 952$d      Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
306
melm 952$e      acqsource
307
melm 952$f      coded-location-qualifier
308
melm 952$g      price
309
#melm 952$h
310
#melm 952$i
311
melm 952$j      stack:n,stack:w
312
#melm 952$k
313
melm 952$l      issues:n,issues:w,issues:s
314
melm 952$m      renewals:n,renewals:w
315
melm 952$n      reserves:n,reserves:w
316
melm 952$o      Local-classification:w,Local-classification:p,Local-classification:s
317
melm 952$p      barcode,barcode:n
318
melm 952$q      onloan:n,onloan:w
319
melm 952$r      datelastseen
320
melm 952$s      datelastborrowed
321
melm 952$t      copynumber
322
melm 952$u      uri:u
323
melm 952$v      replacementprice
324
melm 952$w      replacementpricedate
325
#melm 952$x
326
melm 952$y      itype:w
327
#melm 952$z
(-)a/etc/zebradb/marc_defs/unimarc/authorities/record.abs (-173 lines)
Lines 1-173 Link Here
1
#
2
# NOTE: If you are using the DOM index filter, this configuration file is
3
#       *not* used.  To update the index definitions for the DOM filter,
4
#       edit authority-koha-indexdefs.xml and run
5
#       xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \
6
#                authority-koha-indexdefs.xml \
7
#                > authority-zebra-indexdefs.xsl
8
#
9
# This is a fairly simple set of UNIMARC Authority indexing rules
10
encoding utf-8
11
name authorities
12
attset bib1.att
13
attset gils.att
14
esetname F @
15
esetname B @
16
17
marc unimarc.mar
18
systag sysno rank
19
xpath enable
20
21
all any
22
melm 001 Local-Number,Local-Number:n,Local-Number:s
23
#FIXME check if 942 is used
24
melm 942$a authtype
25
melm 152$b authtype:w,authtype:p
26
27
#FIXME index some coded fields and leader positions?
28
#FIXME why only $a indexed for some 7XX and not for others (710, 715, 716, 720)?
29
#FIXME why 250/260/280 indexed as Subject-heading, Place-heading and Form-heading (not only 250/260/280$a) ?
30
31
# Personal Name
32
melm 200$a Personal-name-heading:w,Personal-name-heading:p,Personal-name-heading:s,Personal-name:w,Personal-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
33
melm 200 Personal-name:w,Personal-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
34
melm 400 Personal-name-see:w,Personal-name-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
35
melm 500 Personal-name-see-also:w,Personal-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
36
melm 700$a Personal-name-parallel:w,Personal-name-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
37
38
# Corporate Name and conference Name
39
# with GRS-1, no way to make the difference
40
# with DOM, possible
41
melm 210$a Corporate-name-heading:w,Corporate-name-heading:p,Corporate-name-heading:s,Corporate-name:w,Corporate-name:p,Conference-name-heading:w,Conference-name-heading:p,Conference-name-heading:s,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
42
melm 210 Corporate-name:w,Corporate-name:p,Conference-name:w,Conference-name:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
43
melm 410 Corporate-name-see:w,Corporate-name-see:p,Conference-name-see:w,Conference-name-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
44
melm 510 Corporate-name-see-also:w,Corporate-name-see-also:p,Conference-name-see-also:w,Conference-name-see-also:p,See-also:w,See-also:p,Match:w,Match:p
45
melm 710 Corporate-name-parallel:w,Corporate-name-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
46
47
# Geographic Name
48
# FIXME : what is Term-geographic?
49
melm 215$a Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Term-geographic-heading:w,Term-geographic-heading:p,Term-geographic-heading:s,Term-geographic:w,Term-geographic:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
50
melm 215 Name-geographic-heading:w,Name-geographic-heading:w,Name-geographic-heading:s,Name-geographic:w,Name-geographic:p,Term-geographic:w,Term-geographic:p,Term-geographic:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
51
melm 415 Name-geographic-see:w,Name-geographic-see:p,Term-geographic-see:w,Term-geographic-see:p,Term-geographic-see:s,See:w,See:p,See:s,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
52
melm 515 Name-geographic-see-also:w,Name-geographic-see-also:p,Term-geographic-see-also:w,Term-geographic-see-also:p,Term-geographic-see-also:s,See-also:w,See-also:p,See-also:s,Match:w,Match:p
53
melm 715 Name-geographic-parallel:w,Name-geographic-parallel:p,Term-geographic-parallel:w,Term-geographic-parallel:p,Term-geographic-parallel:s,Parallel:w,Parallel:p,Parallel:s,Match:w,Match:p
54
55
# Trademark
56
melm 216$a Trademark-heading:w,Trademark-heading:p,Trademark-heading:s,Trademark:w,Trademark:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
57
melm 216 Trademark:w,Trademark:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
58
melm 416 Trademark-see:w,Trademark-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
59
melm 516 Trademark-see-also:w,Trademark-see-also:p,See-also:w,See-also:p,Match:w,Match:p
60
melm 716 Trademark-parallel:w,Trademark-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
61
62
# Family Name
63
melm 220$a Name-heading:w,Name-heading:p,Name-heading:s,Name:w,Name:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
64
melm 220 Name:w,Name:p,Name:s,Heading:w,Heading:p,Heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
65
melm 420 Name-see:w,Name-see:p,Name-see:s,See:w,See:p,See:s,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
66
melm 520 Name-see-also:w,Name-see-also:p,Name-see-also:s,See-also:w,See-also:p,See-also:s,Match:w,Match:p
67
melm 720 Name-parallel:w,Name-parallel:p,Name-parallel:s,Parallel:w,Parallel:p,Parallel:s,Match:w,Match:p
68
69
# Uniform Title
70
melm 230$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
71
melm 230 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
72
melm 430 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
73
melm 530 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
74
melm 730$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
75
76
# Collective Uniform Title
77
melm 235$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
78
melm 235 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
79
melm 435 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
80
melm 535 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
81
melm 735$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
82
83
# Name and Title
84
melm 240$a Name-Title-heading:w,Name-Title-heading:p,Name-Title-heading:s,Name-Title:w,Name-Title:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
85
melm 240 Name-Title:w,Name-Title:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
86
melm 440 Name-Title-see:w,Name-Title-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
87
melm 540 Name-Title-see-also:w,Name-Title-see-also:p,See-also:w,See-also:p,Match:w,Match:p
88
melm 740$a Name-Title-parallel:w,Name-Title-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
89
90
# Name and Collective Title
91
# FIXME maybe use Name-Title index?
92
melm 245$a Title-uniform-heading:w,Title-uniform-heading:p,Title-uniform-heading:s,Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
93
melm 245 Title-uniform:w,Title-uniform:p,Heading:w,Heading:p,Match:w,Match:p,Match-heading:w,Match-heading:p
94
melm 445 Title-uniform-see:w,Title-uniform-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
95
melm 545 Title-uniform-see-also:w,Title-uniform-see-also:p,See-also:w,See-also:p,Match:w,Match:p
96
melm 745$a Title-uniform-parallel:w,Title-uniform-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
97
98
# Topical Term
99
melm 250$a Subject-heading:w,Subject-heading:p,Subject-heading:s,Subject:w,Subject:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
100
melm 250 Subject:w,Subject:p,Heading:w,Heading:p,Subject-heading:w,Subject-heading:p,Subject-heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
101
melm 450 Subject-see:w,Subject-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
102
melm 550 Subject-see-also:w,Subject-see-also:p,See-also:w,See-also:p,Match:w,Match:p
103
melm 750$a Subject-parallel:w,Subject-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
104
105
# Place Access
106
melm 260$a Place-heading:w,Place-heading:p,Place-heading:s,Place:w,Place:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p
107
melm 260 Place:w,Place:p,Heading:w,Heading:p,Place-heading:w,Place-heading:p,Place-heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
108
melm 460 Place-see:w,Place-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
109
melm 560 Place-see-also:w,Place-see-also:p,See-also:w,See-also:p,Match:w,Match:p
110
melm 760$a Place-parallel:w,Place-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
111
112
# Form Genre
113
melm 280$a Form-heading:w,Form-heading:p,Form-heading:s,Form:w,Form:p,Heading:w,Heading:p,Heading:s,Heading-Main:w,Heading-Main:p,Heading-Main:s,Match:w,Match:p,Match-heading:w,Match-heading:p
114
melm 280 Form:w,Form:p,Heading:w,Heading:p,Form-heading:w,Form-heading:p,Form-heading:s,Match:w,Match:p,Match-heading:w,Match-heading:p
115
melm 480 Form-see:w,Form-see:p,See:w,See:p,Match:w,Match:p,Match-heading-see-from:w,Match-heading-see-from:p
116
melm 580 Form-see-also:w,Form-see-also:p,See-also:w,See-also:p,Match:w,Match:p
117
melm 780$a Form-parallel:w,Form-parallel:p,Parallel:w,Parallel:p,Match:w,Match:p
118
119
120
# FIXME: manage subdivisions ($j,$x,$y,$z)
121
# General Subdivision
122
# Subject-subdivision,Heading:w,Heading:p,Heading:s
123
# Geographic Subdivision
124
# Geographic-subdivision,Heading:w,Heading:p,Heading:s
125
# Chronological Subdivision
126
# Chronological-subdivision,Heading:w,Heading:p,Heading:s
127
# Form Subdivision
128
# Form-subdivision,Heading:w,Heading:p,Heading:s
129
130
# 300 Information note
131
melm 300$a    Note:w,Note:p
132
# 305 "See also" reference note
133
melm 305$a    Note:w,Note:p
134
# 310 "See" reference note
135
melm 310$a    Note:w,Note:p
136
# 320 General explanatory reference note
137
melm 320$a    Note:w,Note:p
138
# 330 General scope note
139
melm 330$a    Note:w,Note:p
140
# 340 Biography and activity note
141
melm 340$a    Note:w,Note:p
142
# 356 Geographical note
143
melm 356$a    Note:w,Note:p
144
145
#FIXME Notes not defined in format. Keeping them for the moment
146
melm 301$a    Note
147
melm 302$a    Note
148
melm 303$a    Note
149
melm 304$a    Note
150
melm 306$a    Note
151
melm 307$a    Note
152
melm 308$a    Note
153
melm 311$a    Note
154
melm 312$a    Note
155
melm 313$a    Note
156
melm 314$a    Note
157
melm 315$a    Note
158
melm 316$a    Note
159
melm 317$a    Note
160
melm 318$a    Note
161
melm 321$a    Note
162
melm 322$a    Note
163
melm 323$a    Note
164
melm 324$a    Note
165
melm 325$a    Note
166
melm 326$a    Note
167
melm 327$a    Note
168
melm 328$a    Note
169
melm 332$a    Note
170
melm 333$a    Note
171
melm 336$a    Note
172
melm 337$a    Note
173
melm 345$a    Note
(-)a/etc/zebradb/marc_defs/unimarc/biblios/record.abs (-572 lines)
Lines 1-572 Link Here
1
# indexing rules. It
2
# results in a server which provides a passable Bath level 0 and 1 service
3
############################################################################
4
# IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra
5
# the default record.abs is designed for MARC21.
6
############################################################################
7
# NOTE: This is designed to be used with the grs.marcxml input filter
8
# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
9
# won't work for the old grs.marc input filter, which yields a different
10
# internal structure.
11
12
encoding utf-8
13
name marc21
14
attset bib1.att
15
attset gils.att
16
esetname F @
17
esetname B @
18
19
marc unimarc.mar
20
systag sysno rank
21
xpath disable
22
23
all any
24
############ IDENTIFICATION NUMBERS ##################
25
melm 001        Local-number,Local-number:n
26
# Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
27
melm 009      Identifier-standard:w,Identifier-standard:n
28
melm 090$9      Local-number,Local-number:n
29
melm 099$c      date-entered-on-file:s,date-entered-on-file:n,date-entered-on-file:y,Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
30
melm 099$d      Date/time-last-modified:s,Date/time-last-modified:n,Date/time-last-modified:y
31
melm 099$t      ccode:w
32
33
# ISBN
34
melm 010$a    ISBN:w
35
# wrong ISBN
36
melm 010$z    ISBN:w,Identifier-standard:w
37
# ISSN
38
melm 011$a    ISSN:w,Identifier-standard:w
39
# cancelled ISSN
40
melm 011$y    ISSN:w,Identifier-standard:w
41
# wrong ISSN
42
melm 011$z    ISSN:w,Identifier-standard:w
43
# L-ISSN
44
melm 011$f    Identifier-standard:w
45
melm 011$g    Identifier-standard:w
46
# Fingerprint (ancient books)
47
melm 012$a    Identifier-standard:w
48
# ISMN
49
melm 013$a    Identifier-standard:w
50
melm 013$z    Identifier-standard:w
51
# Article identifier
52
melm 014$a    Identifier-standard:w
53
melm 014$z    Identifier-standard:w
54
# ISRN
55
melm 015$a    Identifier-standard:w
56
melm 015$z    Identifier-standard:w
57
# ISRC
58
melm 016$a    Identifier-standard:w
59
melm 016$z    Identifier-standard:w
60
# Other identifiers (DOI...)
61
melm 017$a    Identifier-standard:w
62
melm 017$z    Identifier-standard:w
63
# National bibliography
64
# uncomment to index
65
# melm 020$a    Identifier-standard:w
66
# melm 020$z    Identifier-standard:w
67
# Legal deposit
68
# uncomment to index
69
# melm 021$a    Identifier-standard:w
70
# melm 021$z    Identifier-standard:w
71
# CODEN
72
melm 040$a    Identifier-standard:w
73
melm 040$z    Identifier-standard:w
74
# Publisher's number (for music)
75
melm 071$a    Identifier-publisher-for-music:w,Identifier-standard:w
76
melm 071$z    Identifier-publisher-for-music:w,Identifier-standard:w
77
melm 071$b	    Publisher,Publisher:p
78
# UPC
79
melm 072$a  	Identifier-standard:w
80
melm 072$z  	Identifier-standard:w
81
# EAN
82
melm 073$a	    EAN:w,Identifier-standard:w
83
melm 073$z	    EAN:w,Identifier-standard:w
84
85
############ ITEM TYPE ##################
86
# FIXME index 200$b only in Material-type ?
87
# FIXME in standard installations, 200$b should probably NOT be indexed
88
melm 200$b      itemtype:w,itemtype:p,itype:w,itype:p,Material-type:w,Material-type:p
89
melm 995$r      itemtype:w,itemtype:p,itype:w,itype:p
90
91
############ CODED INFORMATIONS ##################
92
# Field 100 Description
93
# Name of Data Element                  Number of characters    Character Positions
94
# Date Entered on File (Mandatory)      8                       0-7
95
# Type of date                          1                       8
96
# Date 1                                4                       9-12
97
# Date 2                                4                       13-16
98
# Target audience                       3                       17-19
99
# Government Publication Code           1                       20
100
# Modified Record Code                  1                       21
101
# Language of cataloguing (mandatory)   3                       22-24    do not index in ln
102
# Translitteration code                 1                       25
103
# Character Set (Mandatory)             4                       26-29
104
# additional Character Set              4                       28-33
105
# Script of title                       2                       34-35
106
melm 100$a     tpubdate:s:range(data,8,1),pubdate:n:range(data,9,4),pubdate:y:range(data,9,4),pubdate:s:range(data,9,4),pubdate:n:range(data,13,4),pubdate:y:range(data,13,4),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2)
107
melm 101$a     ln
108
melm 101$c     language-original
109
melm 102$a     Country-publication
110
111
# Field 105 Description
112
# Name of Data Element                  Number of characters    Character Positions
113
# Illustration codes                    4                       0-3
114
# Form of contents codes                4                       4-7
115
# Conference or meeting code            1                       8
116
# Festschrift indicator                 1                       9
117
# Index indicator                       1                       10
118
# Literature code                       1                       11
119
# Biography code                        1                       12
120
melm 105$a     ff8-18-21:w:range(data,0,1),ff8-18-21:w:range(data,1,1),ff8-18-21:w:range(data,2,1),ff8-18-21:w:range(data,3,1),ctype:w:range(data,4,1),ctype:w:range(data,5,1),ctype:w:range(data,6,1),ctype:w:range(data,7,1),ff8-29:w:range(data,8,1),ff8-30:w:range(data,9,1),ff8-31:w:range(data,10,1),lf:w:range(data,11,1),bio:w:range(data,12,1)
121
122
melm 106$a     ff8-23:w,ff8-23:p
123
124
# Field 110 Description
125
# Name of Data Element                  Number of characters    Character Positions
126
# Type of serial designator             1                       0
127
# Frequency of issue                    1                       1
128
# Regularity                            1                       2
129
# Type of material code                 1                       3
130
# Nature of contents code               3                       4-6
131
# Conference publication indicator      1                       7
132
# Title page availability codes         1                       8
133
# Index availability code               1                       9
134
# Cumulative index availability code    1                       10
135
melm 110$a     ff8-21:w:range(data,0,1),ff8-18:w:range(data,1,1),ff8-19:w:range(data,2,1),ctype:w:range(data,3,1),ctype:w:range(data,4,3),ff8-29:w:range(data,7,1),Title-page-availability:w:range(data,8,1),ff8-31:w:range(data,9,1),Cumulative-index-availability:w:range(data,10,1)
136
137
melm 115$a     Video-mt:w:range(data,0,1)
138
139
melm 116$a     Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1)
140
141
############ AUTHORS ##################
142
# main Author
143
melm 200$f		Author:w,Author:p
144
# other Authors
145
melm 200$g		Author:w,Author:p
146
# physical Author
147
melm 700$3      Identifier-standard:w
148
melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
149
melm 700$a      Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s
150
melm 700        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
151
melm 701$3      Identifier-standard:w
152
melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
153
melm 701        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
154
melm 702$3      Identifier-standard:w
155
melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
156
melm 702        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
157
158
# collective Author
159
melm 710$3      Identifier-standard:w
160
melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
161
melm 710    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
162
163
melm 711$3      Identifier-standard:w
164
melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
165
melm 711    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
166
167
melm 712$3      Identifier-standard:w
168
melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
169
melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
170
171
# trademark Author : 716
172
melm 716$9        Koha-Auth-Number,Koha-Auth-Number:n
173
melm 716    Author:w,Author:p
174
175
# family Author : 72X
176
melm 720$9        Koha-Auth-Number,Koha-Auth-Number:n
177
melm 720    Author:w,Author:p
178
melm 721$9        Koha-Auth-Number,Koha-Auth-Number:n
179
melm 721    Author:w,Author:p
180
melm 722$9        Koha-Auth-Number,Koha-Auth-Number:n
181
melm 722    Author:w,Author:p
182
183
# name-responsabily Author
184
melm 730$9        Koha-Auth-Number,Koha-Auth-Number:n
185
melm 730    Author:w,Author:p
186
187
# 740-742 = uniform and conventional headings for legal and religious texts. Use not recommended in France (503 used instead, see http://multimedia.bnf.fr/unimarcb_trad/B7XX-6-2011.pdf )
188
189
############## TITLE ##################
190
# main Title
191
# Keep Title-cover (used for in query weighting algorithm)
192
melm 200$a		Title:w,Title:p,Title:s,Title-cover:w,Title-cover:p,Title-cover:s
193
# Title from an other author
194
melm 200$c		Title:w,Title:p
195
# Parallel title
196
melm 200$d		Title:w,Title:p
197
# subtitle
198
melm 200$e		Title:w,Title:p,Title-cover:w,Title-cover:p
199
# volume : do not index
200
# melm 200$h		Title:w,Title:p
201
# part title
202
melm 200$i		Title:w,Title:p,Title-cover:w,Title-cover:p
203
204
# edition statement
205
melm 205        Title,Title:p
206
207
########## MATERIAL SPECIFIC AREA #################
208
# TODO 206
209
# 207 do not index
210
# 208
211
melm 208$a    Material-type:w,Material-type:p
212
melm 208$d    Material-type:w,Material-type:p
213
# Uncomment to index this field
214
# melm 230$a  Electronic-ressource
215
216
########## PUBLISHER #################
217
#melm 210$a    pl,pl:p
218
melm 210$c    Publisher,Publisher:p
219
melm 210$d    pubdate:n,pubdate:y
220
221
########## DESCRIPTION #################
222
# Uncomment to index this field
223
# melm 215        Extent
224
225
########## SERIES #################
226
melm 225$a      Title-series,Title-series:p
227
melm 225$d      Title-series,Title-series:p
228
#SubTit
229
melm 225$e      Title-series,Title-series:p
230
#Authors
231
melm 225$f      Author,Author:p,Name-and-title,Name-and-title:p
232
#Part-Title
233
melm 225$h      Title-series,Title-series:p
234
#Part Number
235
melm 225$i      Title-series,Title-series:p
236
#Volume
237
melm 225$v      Title-series,Title-series:p
238
melm 225$x      ISSN
239
240
########## NOTES #################
241
# General Note
242
melm 300$a    Note,Note:p
243
# Notes Pertaining to Identification Numbers
244
melm 301$a    Note,Note:p
245
# Notes Pertaining to Coded Information (languages...)
246
melm 302$a    Note,Note:p
247
# Notes Pertaining to Descriptive Information
248
melm 303$a    Note,Note:p
249
# Notes Pertaining to Title and Statement of Responsibility
250
melm 304$a    Note,Note:p,Title:w,Title:p
251
# Notes Pertaining to Edition and Bibliographic History
252
melm 305$a    Note,Note:p
253
# Notes Pertaining to Publication, Distribution, etc.
254
melm 306$a    Note,Note:p
255
# Notes Pertaining to Physical Description
256
melm 307$a    Note,Note:p
257
# Notes Pertaining to Series
258
melm 308      Note,Note:p
259
# Notes Pertaining to Binding and Availability
260
melm 310$a    Note,Note:p
261
# Notes Pertaining to Linking Fields
262
melm 311$a    Note,Note:p
263
# Notes Pertaining to Related Titles
264
melm 312$a    Note,Note:p
265
# Notes Pertaining to Subject Access
266
melm 313$a    Note,Note:p
267
# Notes Pertaining to Intellectual Responsibility (in Sudoc catalogue, may contains the 4th, 5th etc. authors)
268
melm 314$a    Note,Note:p,Author:w,Author:p
269
# Notes Pertaining to Material (or Type of Publication) Specific Information
270
melm 315$a    Note,Note:p
271
# Note Relating to the Copy in Hand (ancient books)
272
# Do not index $u,$5
273
melm 316$a    Note,Note:p
274
# Provenance Note (ancient books)
275
# Do not index $u,$5
276
melm 317$a    Note,Note:p
277
# Action Note
278
# Do not index this note (useless for the public)
279
# melm 318    Note,Note:p
280
# Internal Bibliographies/Indexes Note
281
melm 320$a    Note,Note:p
282
# External Indexes/Abstracts/References Note
283
melm 321$a    Note,Note:p
284
# Credits Note (Projected and Video Material and Sound Recordings)
285
melm 322$a    Note,Note:p
286
# Cast Note (Projected and Video Material and Sound Recordings)
287
melm 323$a    Note,Note:p
288
# Facsimile Note
289
melm 324$a    Note,Note:p
290
# Reproduction Note
291
melm 325$a    Note,Note:p
292
# Frequency Statement Note (Serials)
293
melm 326$a    Note,Note:p
294
# Contents Note
295
melm 327$a    Note,Note:p,Title:w,Title:p
296
melm 327$b    Note,Note:p,Title:w,Title:p
297
melm 327$c    Note,Note:p,Title:w,Title:p
298
melm 327$d    Note,Note:p,Title:w,Title:p
299
melm 327$e    Note,Note:p,Title:w,Title:p
300
melm 327$f    Note,Note:p,Title:w,Title:p
301
melm 327$g    Note,Note:p,Title:w,Title:p
302
melm 327$h    Note,Note:p,Title:w,Title:p
303
melm 327$i    Note,Note:p,Title:w,Title:p
304
# Dissertation note
305
# Do not index $z ("Commercial edition : ")
306
melm 328$a    Note,Note:p,Dissertation-information:w,Dissertation-information:p
307
melm 328$b    Note,Note:p,Dissertation-information:w,Dissertation-information:p
308
melm 328$c    Note,Note:p,Dissertation-information:w,Dissertation-information:p
309
melm 328$d    Note,Note:p,Dissertation-information:w,Dissertation-information:p
310
melm 328$e    Note,Note:p,Dissertation-information:w,Dissertation-information:p
311
melm 328$t    Note,Note:p,Dissertation-information:w,Dissertation-information:p,Title:w,Title:p
312
# Summary or Abstract
313
melm 330$a    Abstract:w,Note:w,Abstract:p,Note:p
314
# Preferred Citation of Described Materials
315
melm 332$a    Note,Note:p
316
# Users/Intended Audience Note
317
melm 333$a    Note,Note:p
318
# Awards note
319
# Do not index $u,$z
320
melm 334$a    Note,Note:p
321
melm 334$b    Note,Note:p
322
melm 334$c    Note,Note:p
323
melm 334$d    Note,Note:p
324
# Type of electronic ressource note
325
melm 336$a    Note,Note:p
326
# System requirements note
327
melm 337$a    Note,Note:p
328
# Acquisition Information Note
329
melm 345$a    Note,Note:p
330
# Table of contents note (Used in french libraries)
331
# Do not index $u,v,p
332
# Uncomment to index as note and title
333
# melm 359$a    Note,Note:p,Title:w,Title:p
334
# melm 359$b    Note,Note:p,Title:w,Title:p
335
# melm 359$c    Note,Note:p,Title:w,Title:p
336
# melm 359$d    Note,Note:p,Title:w,Title:p
337
# melm 359$e    Note,Note:p,Title:w,Title:p
338
# melm 359$f    Note,Note:p,Title:w,Title:p
339
# melm 359$g    Note,Note:p,Title:w,Title:p
340
# melm 359$h    Note,Note:p,Title:w,Title:p
341
# melm 359$i    Note,Note:p,Title:w,Title:p
342
343
############## 4XX - LINKING ##################
344
# All 4XX indexed as Title, except for 410
345
melm 410$t    Title-series,Title-series:p
346
melm 411$t    Title-series,Title-series:p
347
melm 412$t    Title,Title:p
348
melm 413$t    Title,Title:p
349
melm 421$t    Title,Title:p
350
melm 422$t    Title,Title:p
351
melm 423$t    Title,Title:p
352
melm 424$t    Title,Title:p
353
melm 425$t    Title,Title:p
354
melm 430$t    Title,Title:p
355
melm 431$t    Title,Title:p
356
melm 432$t    Title,Title:p
357
melm 433$t    Title,Title:p
358
melm 434$t    Title,Title:p
359
melm 435$t    Title,Title:p
360
melm 436$t    Title,Title:p
361
melm 437$t    Title,Title:p
362
melm 440$t    Title,Title:p
363
melm 441$t    Title,Title:p
364
melm 442$t    Title,Title:p
365
melm 443$t    Title,Title:p
366
melm 444$t    Title,Title:p
367
melm 445$t    Title,Title:p
368
melm 446$t    Title,Title:p
369
melm 447$t    Title,Title:p
370
melm 448$t    Title,Title:p
371
melm 451$t    Title,Title:p
372
melm 452$t    Title,Title:p
373
melm 453$t    Title,Title:p
374
melm 454$t    Title,Title:p
375
melm 455$t    Title,Title:p
376
melm 456$t    Title,Title:p
377
# FIXME Warning : field used by Koha for analytics, but also in Sudoc network
378
melm 461$t    Title,Title:p,Host-item:w,Host-item:p
379
melm 462$t    Title,Title:p
380
melm 463$t    Title,Title:p
381
# FIXME Warning : field used by Koha for analytics, but also in Sudoc network
382
melm 464$t    Title,Title:p,Host-item:w,Host-item:p
383
melm 470$t    Title,Title:p
384
melm 481$t    Title,Title:p
385
melm 482$t    Title,Title:p
386
melm 488$t    Title,Title:p
387
388
# Linking ids (Koha analytics)
389
# FIXME Warning : field used by Koha for analytics, but also in Sudoc network
390
# melm 461$9    Host-Item-Number
391
392
############## 5XX - TITLES ##################
393
melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
394
melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
395
melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
396
melm 510$9    Koha-Auth-Number,Koha-Auth-Number:n
397
melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n
398
melm 513$9    Koha-Auth-Number,Koha-Auth-Number:n
399
melm 514$9    Koha-Auth-Number,Koha-Auth-Number:n
400
melm 515$9    Koha-Auth-Number,Koha-Auth-Number:n
401
melm 516$9    Koha-Auth-Number,Koha-Auth-Number:n
402
melm 517$9    Koha-Auth-Number,Koha-Auth-Number:n
403
melm 518$9    Koha-Auth-Number,Koha-Auth-Number:n
404
melm 519$9    Koha-Auth-Number,Koha-Auth-Number:n
405
melm 520$9    Koha-Auth-Number,Koha-Auth-Number:n
406
melm 530$9    Koha-Auth-Number,Koha-Auth-Number:n
407
melm 531$9    Koha-Auth-Number,Koha-Auth-Number:n
408
melm 532$9    Koha-Auth-Number,Koha-Auth-Number:n
409
melm 540$9    Koha-Auth-Number,Koha-Auth-Number:n
410
melm 541$9    Koha-Auth-Number,Koha-Auth-Number:n
411
melm 545$9    Koha-Auth-Number,Koha-Auth-Number:n
412
melm 560$9    Koha-Auth-Number,Koha-Auth-Number:n
413
414
melm 500		Title,Title:p
415
melm 501		Title,Title:p
416
melm 503		Title,Title:p
417
melm 510		Title,Title:p
418
melm 512		Title,Title:p
419
melm 513		Title,Title:p
420
melm 514		Title,Title:p
421
melm 515		Title,Title:p
422
melm 516		Title,Title:p
423
melm 517		Title,Title:p
424
melm 518		Title,Title:p
425
melm 519		Title,Title:p
426
melm 520		Title,Title:p
427
melm 530		Title,Title:p
428
melm 531		Title,Title:p
429
melm 532		Title,Title:p
430
melm 540		Title,Title:p
431
melm 541		Title,Title:p
432
melm 545		Title,Title:p
433
melm 560		Title,Title:p
434
435
########### SUBJECTS (6xx) ##################
436
melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
437
melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
438
melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
439
melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
440
melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
441
melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
442
melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n
443
melm 608$9      Koha-Auth-Number,Koha-Auth-Number:n
444
melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
445
melm 615$9      Koha-Auth-Number,Koha-Auth-Number:n
446
melm 616$9      Koha-Auth-Number,Koha-Auth-Number:n
447
melm 617$9      Koha-Auth-Number,Koha-Auth-Number:n
448
melm 620$9      Koha-Auth-Number,Koha-Auth-Number:n
449
melm 621$9      Koha-Auth-Number,Koha-Auth-Number:n
450
451
melm 600$a              Personal-name,Personal-name:p,Subject,Subject:p
452
melm 600                Subject,Subject:p
453
melm 601$a              Corporate-name,Conference-name,Corporate-name:p,Conference-name:p
454
melm 601                Subject,Subject:p
455
melm 602$a    Personal-name,Personal-name:p
456
melm 602    Subject,Subject:p
457
melm 604                Subject,Subject:p
458
melm 605                Subject,Subject:p
459
melm 606                Subject,Subject:p
460
melm 607        Subject,Subject:p
461
melm 608                Subject,Subject:p
462
melm 610                Subject,Subject:p
463
melm 615                Subject,Subject:p
464
melm 616                Subject,Subject:p
465
melm 617                Subject,Subject:p
466
melm 620                Subject,Subject:p
467
melm 621                Subject,Subject:p
468
# Technical details access // see Marc21 753. Seems deprecated.
469
# melm 626                Subject,Subject:p
470
# Geographic area code // see Marc21 043. Probably not useful
471
# melm 660                Subject,Subject:p
472
# Chronological coverage code. Probably not useful
473
# melm 661                Subject,Subject:p
474
475
########### CLASSIFICATIONS (67x/68x) ##################
476
# PRECIS
477
melm 670		Subject-precis:w,Subject-precis:p
478
# Universal Decimal Classification // see Marc21 080
479
melm 675$a		UDC-classification:w,UDC-classification:p,UDC-classification:s
480
# Dewey // see Marc21 082
481
melm 676$a		Dewey-classification:w,Dewey-classification:p,Dewey-classification:s
482
# LC // see Marc21 050
483
melm 680$b		LC-call-number:s
484
melm 680		LC-call-number:w,LC-call-number:p
485
# Other class numbers // see Marc21 084
486
melm 686		Local-classification:w,Local-classification:p
487
488
############## KOHA ITEM INFORMATION (based on 995) ###############
489
# Koha specific : $1, $2, $3
490
melm 995$1    damaged,damaged:n
491
melm 995$2    lost,lost:n
492
melm 995$3    withdrawn,withdrawn:n
493
494
# most subfields are based on "995 recommandation"
495
# used by French libraries for exchanging holding information
496
# source: http://www.abes.fr/content/download/1949/8319/version/1/file/pdf_r995.pdf
497
# (last version, 2005)
498
# Note that :
499
# - the use of $e,$h,$j in Koha and in 995 recommandation is different
500
# - $i, $m, $l, $o, $p, $q, $v, $w, $x, $y, $z are defined in 995 recommandation, but not used by Koha
501
502
# 6 blocs of subfields are defined in 995 recommandation
503
504
# 1. Information about origin of the document
505
# $a - Origin of the document, free text
506
# Not used in Sudoc network
507
melm 995$a    homebranch,Host-item,item
508
# $a - Origin of the document, coded information
509
melm 995$b    homebranch,Host-item,item
510
# $c - Lending or holding library - free text
511
melm 995$c    holdingbranch,Record-Source,item
512
513
# 2. Identification and classification
514
# $e - shelving information
515
# (in 995 recommandation : $e - detailed genre)
516
melm 995$e    location,location:p,item
517
# $f - barcode - complete
518
melm 995$f    barcode,barcode:p,item
519
# $h - ccode
520
# (in 995 recommandation : $h - barcode - prefix)
521
melm 995$h    ccode,ccode:p,item
522
# $i - not used currently
523
# (in 995 recommandation : $i - barcode - suffix)
524
# $j - LC-card-number,
525
# (in 995 recommandation : $j - section, i.e. part of a library)
526
# $k - callnumber
527
melm 995$k    Call-Number,Local-classification,Call-Number:p,Local-classification:p,Local-classification:s,item
528
# $l - not used currently
529
# (in 995 recommandation : $l - volumes)
530
531
# 3 - Checkout and deposal information
532
# $m - not used currently
533
# (in 995 recommandation : $m - Date of loan or deposit)
534
# $n - Expiration of loan
535
melm 995$n    onloan:d,onloan:n,onloan:s,onloan:w,item
536
# $o - not used currently
537
# (in 995 recommandation : $o - Circulation type (not for loan))
538
539
# 4 - Sorting and statistic information
540
# $p - not used currently
541
# (in 955 recommandation : $p - Serial)
542
# $q - not used currently
543
# (in 995 recommandation : $q - Target audience (age))
544
# $r - Type of document and carriage
545
# (see above)
546
# $s - not used currently
547
# (in 995 recommandation : $s - Sorting element)
548
# $t - not used currently
549
# (in 995 recommandation : $t - Genre : fiction vs non-fiction)
550
551
# 5 - Notes
552
# $u - item note
553
melm 995$u    Note,Note:p,item
554
# $v - not used currently
555
# (in 995 recommandation : $v - serial issue note)
556
557
# 6 - Target of document
558
# $w - not used currently
559
# (in 995 recommandation : $w - target library - free text)
560
# $x - not used currently
561
# (in 995 recommandation : $x - target library - coded information)
562
# $y - not used currently
563
# (in 995 recommandation : $y - target network of libraries - free text)
564
# $z - not used currently
565
# (in 995 recommandation : $z - target network of libraries - coded information)
566
567
melm 995    item   # just to index every subfield
568
569
### biblioitems information (based on 942) ######
570
melm 942$0      totalissues:n,totalissues:s
571
### 942 local info - may want to use this if you're using the English UNIMARC frameworks
572
###melm 942$0      popularity:n,popularity:s,item
(-)a/etc/zebradb/retrieval-info-auth-grs1.xml (-40 lines)
Lines 1-40 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<retrievalinfo xmlns="http://indexdata.com/yaz">
3
  <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
4
  <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
5
  <retrieval syntax="xml" name="marcxml"
6
             identifier="info:srw/schema/1/marcxml-v1.1">
7
    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
8
      <marc inputformat="marc" outputformat="marcxml"
9
            inputcharset="utf-8"/>
10
    </backend>
11
  </retrieval>
12
  <retrieval syntax="xml" name="dc">
13
    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
14
      <marc inputformat="marc" outputformat="marcxml"
15
            inputcharset="utf-8"/>
16
      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
17
    </backend>
18
  </retrieval>
19
  <retrieval syntax="xml" name="mods">
20
    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
21
      <marc inputformat="marc" outputformat="marcxml"
22
            inputcharset="utf-8"/>
23
      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
24
    </backend>
25
  </retrieval>
26
  <retrieval syntax="xml" name="rdfdc">
27
    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
28
      <marc inputformat="marc" outputformat="marcxml"
29
            inputcharset="utf-8"/>
30
      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
31
    </backend>
32
  </retrieval>
33
  <retrieval syntax="xml" name="utils">
34
    <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
35
      <marc inputformat="marc" outputformat="marcxml"
36
            inputcharset="utf-8"/>
37
      <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
38
    </backend>
39
  </retrieval>
40
</retrievalinfo>
(-)a/etc/zebradb/zebra-authorities.cfg (-61 lines)
Lines 1-61 Link Here
1
2
# Simple Zebra configuration file that defines
3
# a database with MARCXML records.
4
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
5
#
6
# Where are the config files located?
7
profilePath:__ZEBRA_CONF_DIR__/authorities/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
8
9
encoding: UTF-8
10
# modulePath - where to look for loadable zebra modules
11
modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib64/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules/
12
13
# Files that describe the attribute sets supported.
14
attset: bib1.att
15
attset: explain.att
16
attset: gils.att
17
18
#systag sysno rank
19
20
# Specify record type
21
# group   .recordType[  .name  ]:  type
22
# type is split into fundamental type. file-read-type . argument
23
# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
24
# http://www.indexdata.dk/zebra/doc/grs.tkl
25
26
# Can use -g iso2709 to batch index raw iso2709 records in a single or
27
# multiple files, or marcxml records that are split into separate files
28
# the trailing .record tells zebraidx to use record.abs
29
iso2709.recordType:grs.marcxml.record
30
31
# Can use -g marcxml to batch index marcxml files
32
# zebraidx uses record.abs because of <record> is the root element
33
marcxml.recordType:grs.sgml
34
35
# Koha uses grs.xml internally when updating a single record, no idea
36
# why it knows to use record.abs
37
recordType:grs.xml
38
39
recordId: (bib1,Local-Number)
40
# was auth1
41
storeKeys:1
42
storeData:1
43
44
# Lock File Area
45
lockDir: __ZEBRA_LOCK_DIR__/authorities
46
#perm.anonymous:ar
47
perm.__ZEBRA_USER__:rw
48
passwd: __ZEBRA_CONF_DIR__/etc/passwd
49
register: __ZEBRA_DATA_DIR__/authorities/register:20G
50
shadow: __ZEBRA_DATA_DIR__/authorities/shadow:20G
51
52
# Temp File area for result sets
53
setTmpDir: __ZEBRA_DATA_DIR__/authorities/tmp
54
55
# Temp File area for index program
56
keyTmpDir: __ZEBRA_DATA_DIR__/authorities/key
57
58
# Approx. Memory usage during indexing
59
memMax: 50M
60
rank:rank-1
61
(-)a/etc/zebradb/zebra-biblios.cfg (-65 lines)
Lines 1-64 Link Here
1
# Simple Zebra configuration file that defines
2
# a database with MARCXML records.
3
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
4
#
5
# Where are the config files located?
6
profilePath:__ZEBRA_CONF_DIR__/biblios/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
7
# modulePath - where to look for loadable zebra modules
8
modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib64/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules/
9
10
encoding: UTF-8
11
# Files that describe the attribute sets supported.
12
attset: bib1.att
13
attset: explain.att
14
attset: gils.att
15
16
# systag sysno rank
17
18
# Specify record type
19
# group   .recordType[  .name  ]:  type
20
# type is split into fundamental type. file-read-type . argument
21
# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
22
# http://www.indexdata.dk/zebra/doc/grs.tkl
23
24
# Can use -g iso2709 to batch index raw iso2709 records in a single or
25
# multiple files, or marcxml records that are split into separate files
26
# the trailing .record tells zebraidx to use record.abs
27
iso2709.recordType:grs.marcxml.record
28
29
# Can use -g marcxml to batch index marcxml files
30
# zebraidx uses record.abs because of <record> is the root element
31
marcxml.recordType:grs.sgml
32
33
# Koha uses grs.xml internally when updating a single record, no idea
34
# why it knows to use record.abs
35
recordType:grs.xml
36
37
recordId: (bib1,Local-number)
38
storeKeys:1
39
storeData:1
40
41
42
# Lock File Area
43
lockDir: __ZEBRA_LOCK_DIR__/biblios
44
#perm.anonymous:ar
45
perm.__ZEBRA_USER__:rw
46
passwd: __ZEBRA_CONF_DIR__/etc/passwd
47
register: __ZEBRA_DATA_DIR__/biblios/register:20G
48
shadow: __ZEBRA_DATA_DIR__/biblios/shadow:20G
49
50
# Temp File area for result sets
51
setTmpDir: __ZEBRA_DATA_DIR__/biblios/tmp
52
53
# Temp File area for index program
54
keyTmpDir: __ZEBRA_DATA_DIR__/biblios/key
55
56
# Approx. Memory usage during indexing
57
memMax: 50M
58
rank:rank-1
59
truncmax: 1000000000
60
61
# Specifies the maximum number of records that will be sorted in a result set.
62
# If the result set contains more than that limit, the records after the limit
63
# will not be sorted. If omitted, the default value is 1,000.
64
sortmax: 1000
65
- 

Return to bug 14302