Bug 14217: Add 'condition' attribute for DOM index definition
[koha.git] / etc / zebradb / ccl.properties
1 # CCL field mappings
2 # There are four types of lines in a CCL profile: 
3 #  1. qualifier specification
4 #   qualifier-name   [  attributeset   ,]  type   =   val   [  attributeset   ,]  type   =   val   ...
5
6 #  2. qualifier alias
7 #   q q1 q2 q3
8 #
9 #  3. comments
10 #   comments begin with #
11 #
12 #  4. directives
13 #   @   directive    value
14 #
15 # see http://indexdata.dk/yaz/doc/tools.tkl#CCL for more details
16 #
17 # The rule below is used when no fields are specified
18 term t=l,r  s=al
19 #
20 # Simple rule for a field called "clean"
21 clean t=l,r
22
23 ###################################################
24 ### 1. BIB1 USE ATTRIBUTES MAPPED TO CCL QUALIFIERS
25 #
26 # SEE http://www.loc.gov/z3950/agency/bib1.html
27 #
28 # The notation '$' following a USMARC tag refers to a
29 # subfield of the named field.  The notation 'i' following a
30 # USMARC tag refers to values of the second indicator in the named
31 # field; when the second indicator of the field has the value
32 # , the data in the field is associated with that Use
33 # attribute.
34 #
35 #Use                  Value Definition                      USMARC tag(s)
36 #-------------------- ----- ------------------------------  ------------------
37 #Abstract               62  An abbreviated, accurate        520
38 #                           representation of a work,
39 #                           usually without added
40 #                           interpretation or criticism.
41 Abstract 1=62
42 ab Abstract
43
44 #Any                  1016  The record is selected if there
45 #                           exists a Use attribute that the
46 #                           target supports (and considers
47 #                           appropriate - see note 1) such
48 #                           that the record would be
49 #                           selected if the target were to
50 #                           substitute that attribute.
51 #       Notes:
52 #        (1) When the origin uses 'any' the intent is that the target
53 #            locate records via commonly used access points. The target
54 #            may define 'any' to refer to a selected set of Use
55 #            attributes corresponding to its commonly used access points.
56 #        (2) In set terminology: when Any is the Use attribute, the set
57 #            of records selected is the union of the sets of records
58 #            selected by each of the (appropriate) Use attributes that
59 #            the target supports.
60 Any 1=1016
61 kw Any
62
63 #Anywhere             1035  The record is selected if the
64 #                           term value (as qualified by the
65 #                           other attributes) occurs anywhere
66 #                           in the record.
67 #
68 #            Note: A target might choose to support 'Anywhere' only in
69 #            combination with specific (non-Use) attributes. For example, a
70 #            target might support 'Anywhere' only in combination with the
71 #            Relation attribute 'AlwaysMatches' (see below), to locate all
72 #            records in a database.
73 #
74 #       Notes on relationship of Any and Anywhere:
75 #        (1) A target may support Any but not Anywhere, or vice versa, or
76 #            both.  However, if a target supports both, then it should
77 #            exclude 'Anywhere' from the list of Use attributes
78 #            corresponding to 'Any' (if it does not do so, then the set
79 #            of records located by 'Any' will be a superset of those
80 #            located by 'Anywhere').
81 #        (2) A distinction between the two attributes may be informally
82 #            expressed as follows: 'anywhere' might result in more
83 #            expensive searching than 'any'; if the target (and origin)
84 #            support both 'any' and 'anywhere', if the origin uses 'Any'
85 #            (rather than 'Anywhere') it is asking the target to locate
86 #            the term only if it can do so relatively inexpensively.
87 #Anywhere 1=1035
88
89 #Author-name          1003  A personal or corporate author, 100, 110, 111, 400
90 #                           or a conference or meeting      410, 411, 700, 710,
91 #                           name.  (No subject name         711, 800, 810, 811
92 #                           headings are included.)
93 Author 1=1003 s=pw
94 au Author
95 aut 1=1003
96 #Author-name-and-     1000  A personal or corporate author, 100/2XX, 110/2XX,
97 #title                      or a conference or meeting      111/2XX, subfields
98 #                           name, and the title of the      $a & $t in
99 #                           item.  (No subject name         following: 400,410,
100 #                           headings are included.)  The    411, 700, 710, 711,
101 #                           syntax of the name-title        800, 810, 811
102 #                           combination is up to the
103 #                           target, unless used with the
104 #                           Structure attribute Key (see
105 #                           below).
106 #Author-title 1=1000
107
108 #Author-name-         1005  An organization or a group      110, 410, 710, 810
109 #corporate                  of persons that is identified
110 #                           by a particular name. (Differs
111 #                           from attribute "name-corporate
112 #                           (2)" in that corporate name
113 #                           subject headings are not
114 #                           included.)
115 #Author-name-corporate 1=1005
116
117 #Author-name-         1006  A meeting of individuals or     111, 411, 711, 811
118 #conference                 representatives of various
119 #                           bodies for the purpose of
120 #                           discussing topics of common
121 #                           interest. (Differs from
122 #                           attribute "name-conference
123 #                           (3)" in that conference name
124 #                           subject headings are not
125 #                           included.)
126 #Author-name-conference 1=1006
127 #af Author-name-conference
128
129 #Author-name-personal 1004  A person's real name,           100, 400, 700, 800
130 #                           pseudonym, title of nobility
131 #                           nickname, or initials.
132 #                           (Differs from attribute
133 #                           "name-personal (1)" in that
134 #                           personal name subject headings
135 #                           are not included.)
136 #Author-name-personal 1=1004
137
138 #Author-Title-Subject 1036  An author or a title or a        1XX, 2XX, 4XX,
139 #                           subject.                         6XX, 7XX, 8XX
140 #
141 #            Note: When the Use attribute is Author-name-and-title (1000)
142 #            the term contains both an author name and a title.  When the
143 #            Use attribute is Author-Title-Subject (1036), the term
144 #            contains an author name or a title or a subject.
145 #Author-Title-Subject 1=1036
146
147 #Body of text         1010  Used in full-text searching to
148 #                           indicate that the term is to
149 #                           be searched only in that
150 #                           portion of the record that the
151 #                           target considers the body of
152 #                           the text, as opposed to some
153 #                           other discriminated part such
154 #                           as a headline, title, or
155 #                           abstract.
156 #Body-of-text 1=1010
157
158 #Classification-Bliss   15  A classification number from
159 #                           the Bliss Classification,
160 #                           developed by Henry Evelyn
161 #                           Bliss.
162 #Bliss-classification 1=15
163
164 #Classification-Dewey   13  A classification number from    082
165 #                           the Dewey Decimal
166 #                           Classification, developed by
167 #                           Melvyl Dewey.
168 #Dewey-classification 1=13
169
170 #Classification-        50  A classification number         086
171 #government-publication     assigned to a government
172 #                           document by a government
173 #                           agency at any level (e.g.,
174 #                           state, national,
175 #                           international).
176 #Number-govt-pub 1=50
177
178 #Classification-LC      16  A classification number from    050
179 #                           the US Library of Congress
180 #                           Classification.
181 #LC-call-number 1=16
182 #
183 #Classification-local   20  A local classification
184 #                           number from a system not
185 #                           specified elsewhere in this
186 #                           list of attributes.
187 Local-classification 1=20
188 lcn Local-classification
189 callnum Local-classification
190 #Local-classification cc callnum dewey
191 #
192 #Classification-NAL     18  A classification number from    070
193 #                           the US National Agriculture
194 #                           Library Classification.
195 #NAL-call-number 1=18
196 #
197 #Classification-NLM     17  A classification number from    060
198 #                           the US National Library of
199 #                           Medicine Classification.
200 #NLM-call-number 1=17
201 #
202 #Classification-MOS     19  A classification number from
203 #                           Mathematics Subject
204 #                           Classification, compiled
205 #                           in the Editorial Offices of
206 #                           Mathematical Reviews and
207 #                           Zentralblatt fur Mathematik.
208 #MOS-call-number 1=19
209 #
210 #Classification-UDC     14  A classification number from    080
211 #                           Universal Decimal
212 #                           Classification, a system based
213 #                           on the Dewey Decimal
214 #                           Classification.
215 #UDC-classification 1=14
216 #
217 #Code-bib-level       1021  A one-character alphabetic       Leader/07
218 #                           code indicating the
219 #                           bibliographic level such as
220 #                           monograph, serial or collection
221 #                           of the record.
222 Bib-level 1=1021
223 #
224 #Code-geographic-area   55  A code that indicates the       043
225 #                           geographic area(s) that appear
226 #                           or are implied in the headings
227 #                           assigned to the item during
228 #                           cataloging.
229 #Code-geographic 1=55
230 #
231 #Code-geographic-     1022  A code that represents the      052
232 #class                      geographic area and if
233 #                           applicable the geographic
234 #                           subarea covered by an item.
235 #                           The codes are derived from
236 #                           the LC Classification-Class G
237 #                           and the expanded Cutter number
238 #                           list.
239 #Geographic-class 1=1022
240 #
241 #Code-institution       56  An authoritative-agency         040, 852$a
242 #                           symbol for an institution
243 #                           that is the source of the
244 #                           record or the holding
245 #                           location.  The code space is
246 #                           defined by the target.
247 Code-institution 1=56
248
249 #
250 #Code-language          54  A code that indicates the       008/35-37, 041
251 #                           language of the item.
252 #                           The codes are defined by the
253 #                           target.
254 language 1=54
255 ln language
256
257 #
258 #Code-language-original 1095 A code that indicates the       MARC21 041$h
259 #                           original language of the item.   UNIMARC 101$c
260 language-original 1=1095
261
262 #Code-map-scale       1024  Coded form of cartographic      034
263 #                           mathematical data, including
264 #                           scale, projection and/or
265 #                           coordinates related to the
266 #                           item.
267 #Map-scale 1=1024
268
269 #Code-microform-        61  The code specifying the         007/11
270 #generation                 generation of a microform.
271 #Microform-generation 1=61
272 #material-designation Microform-generation
273
274 #Code-record-type     1001  A code that specifies the       Leader/06
275 #                           characteristics and defines
276 #                           the components of the record.
277 #                           The codes are target-specific.
278 rtype 1=1001
279 Record-type rtype
280 mc-rtype rtype
281 mus rtype
282
283 #Concept-reference    1015  Used within Z39.50-1988;
284 #                           included here for historical
285 #                           reasons but its use is
286 #                           deprecated.
287 #Concept-reference 1=1015
288
289 #Concept-text         1014  Used within Z39.50-1988;
290 #                           included here for historical
291 #                           reasons but its use is
292 #                           deprecated.
293 #Concept-text        1=1014
294
295 #Content-type         1034  The type of materials           derived value
296 #                           contained in the item or        from 008/24-27
297 #                           publication.  For example:
298 #                           review, catalog, encyclopedia,
299 #                           directory.
300 Content-type 1=1034 t=b
301 ctype Content-type
302
303 #Control number-BNB     10  Character string that uniquely  015
304 #                           identifies a record in the
305 #                           British National Bibliography.
306 #BNB-card-number 1=10
307
308 #Control number-BNF     11  Character string that uniquely  015
309 #                           identifies a record in the
310 #                           Bibliotheque Nationale Francais.
311 #BGF-number 1=11
312
313 #Control number-DB      52  Character string that uniquely  015
314 #                           identifies a record in the
315 #                           Deutsche Bibliothek.
316 #Number-db 1=52
317
318 #Control number-LC       9  Character string that uniquely  010, 011
319 #                           identifies a record in the
320 #                           Library of Congress database.
321 LC-card-number 1=9
322 lc-card LC-card-number
323
324 #Control number-local   12  Character string that uniquely  001, 035
325 #                           identifies a record in a local
326 #                           system (i.e., any system that
327 #                           is not one of the four listed
328 #                           above).
329 Local-number 1=12
330 sn Local-number
331
332 #Date                   30  The point of time at which      005, 008/00-05,
333 #                           a transaction or event          008/07-10, 260$c,
334 #                           takes place.                    008/11-14, 033,etc.
335 # interpreting this as the copyright date in 260$c (MARC21) and 210$d (UNIMARC)
336 copydate 1=30 r=r
337
338 #Date-publication       31  The date (usually year) in      008/07-10, 260$c
339 #                           which a document is published.  046, 533$d
340 Date-of-publication 1=31 r=r
341 yr Date-of-publication
342 pubdate Date-of-publication
343
344 #Date-acquisition       32  The date when a document was    541$d
345 #                           acquired.
346 Date-of-acquisition 1=32
347 acqdate Date-of-acquisition
348
349 #Date/time added to   1011  The date and time that a        008/00-05
350 #database                   record was added to the
351 #                           database.
352 #Date-time-added-to-db 1=1011
353
354 #Date/time last       1012  The date and time a record      005
355 #modified                   was last updated.
356 Date/time-last-modified       1=1012
357
358 #Dissertation-        1056  Information about a             MARC21 502/UNIMARC 328
359 #information                dissertation thesis, or another
360 #                           publication connected with an
361 #                           academic degree.
362 Dissertation-information 1=1056
363 diss Dissertation-information
364
365 #EAN                  1214  European article number         UNIMARC 073
366 EAN 1=1214
367 ean EAN
368
369 #Identifier--         1013  Used in full-text searching
370 #authority/format           to indicate to the target
371 #                           system the format of the
372 #                           document that should be
373 #                           returned to the originating
374 #                           system.  The attribute carries
375 #                           not only the format code, but
376 #                           also the authority (e.g.,
377 #                           system) that assigned that
378 #                           code.
379 #Authority/format-id 1=1013
380
381 #Identifier-CODEN       60  A six-character, unique,        030
382 #                           alphanumeric code assigned
383 #                           to serial and monographic
384 #                           publications by the CODEN
385 #                           section of the Chemical
386 #                           Abstracts Service.
387 #CODEN 1=60
388
389 #Identifier-document  1032  An identifier or Doc-ID,  
390 #                           assigned by a server, that 
391 #                           uniquely identifies a document 
392 #                           on that server. May or may 
393 #                           not be persistent. May be, 
394 #                           for example, a URL.
395 #            Note: this definition was modified October 1997.
396 #Doc-id 1=1032
397
398 #Identifier-ISBN         7  International Standard Book     020
399 #                           Number -- internationally
400 #                           agreed upon number that
401 #                           identifies a book uniquely.
402 #                           Cf. ANSI/NISO Z39.21 and
403 #                           ISO 2108.
404 ISBN 1=7
405 nb ISBN
406 isbn ISBN
407
408 #Identifier-ISSN         8  International Standard Serial   022, 4XX$x,
409 #                           Number -- internationally       7XX$x
410 #                           agreed upon number that
411 #                           identifies a serial uniquely.
412 #                           Cf. ANSI/NISO z39.9 and
413 #                           ISO 3297.
414 ISSN 1=8
415 ns ISSN
416 issn ISSN
417
418 #Identifier-legal-      49  The copyright registration      017
419 #deposit                    number that is assigned to
420 #                           an item when the item is
421 #                           deposited for copyright.
422 #Number-legal-deposit 1=49
423
424 #Identifier-local-call  53  Call number (e.g., shelf location)
425 #                           assigned by a local system
426 #                           (not a classification number).
427 #Number-local-call 1=53
428
429 #Identifier-national-   48  Character string that uniquely  015
430 #bibliography               identifies a record in a
431 #                           national bibliography.
432 #Number-natl-biblio 1=48
433
434 #Identifier-publisher-  51  A formatted number assigned     028
435 #for-music                  by a publisher to a sound
436 #                           recording or to printed music.
437 Identifier-publisher-for-music 1=51
438 Music-number Identifier-publisher-for-music
439 Number-music-publisher Identifier-publisher-for-music
440 music Identifier-publisher-for-music
441
442 #Identifier-report    1027  A report number assigned to     027, 088
443 #                           the item. This number could be
444 #                           the STRN (Standard Technical
445 #                           Report Number) or another
446 #                           report number.
447 #                           Cf. ANSI/NISO Z39.23 and
448 #                           ISO 10444.
449 #Report-number 1=1027
450
451 #Identifier-standard  1007  Standard numbers such as ISBN,  010, 011, 015, 017,
452 #                           ISSN, music publishers          018, 020, 022, 023,
453 #                           numbers, CODEN, etc., that      024, 025, 027, 028,
454 #                           are indexed together in many    030, 035, 037
455 #                           online public-access catalogs.
456 #Identifier-standard  1=1007 4=6
457 Identifier-standard  1=1007 4=6
458 ident Identifier-standard
459
460 #
461 #Identifier-stock     1028  A stock number that could be    037
462 #                           used for ordering the item.
463 Stock-number 1=1028
464
465 #Identifier-thematic  1030  The numeric designation for a   $n in the following:
466 #                           part/section of a work such as  130, 240, 243, 630,
467 #                           the serial, opus or thematic    700, 730
468 #                           index number.
469 #Thematic-number 1=1030
470
471 #Indexed-by           1023  For serials, a publication      510
472 #                           in which the serial has been
473 #                           indexed and/or abstracted.
474 #Indexed-by          1=1023
475
476 #Material-type        1031  A free-form string, more        derived value from
477 #                           specific than the one-letter    Leader/06-07, 007,
478 #                           code in Leader/06, that         008, and 502
479 #                           describes the material type
480 #                           of the item, e.g., cassette,
481 #                           kit, computer database,
482 #                           computer file.
483 Material-type 1=1031
484
485 #Music-key            1025  A statement of the key in       $r in the following:
486 #                           which the music is written.     130, 240, 243, 630,
487 #                                                           700, 730
488 #Music-key            1=1025
489
490 #Name                 1002  The name of a person, corporate 100, 110, 111, 400,
491 #                           body, conference, or meeting.   410, 411, 600, 610,
492 #                           (Subject name headings are      611, 700, 710, 711,
493 #                           included.)                      800, 810, 811
494 Name                 1=1002
495 name Name
496
497 #Name-and-title         57  The name of a person, corporate 100/2XX, 110/2XX,
498 #                           body, conference, or meeting,   111/2XX, subfields
499 #                           and the title of an item.       $a & $t in
500 #                           (Subject name headings are      following: 400,410,
501 #                           included.)  The syntax of the   411, 600, 610, 611,
502 #                           name-title combination is up    700, 710, 711, 800,
503 #                           to the target, unless used      810, 811
504 #                           with the Structure attribute
505 #                           Key (see below).
506 #Name-and-title         1=57
507
508 #Name-corporate          2  An organization or a group      110, 410, 610, 710,
509 #                           of persons that is identified   810
510 #                           by a particular name. (Subject
511 #                           name headings are included.)
512 Corporate-name 1=Corporate-name
513 cpn Corporate-name
514
515 Corporate-name-heading 1=Corporate-name-heading
516 Corporate-name-see 1=Corporate-name-see
517 Corporate-name-seealso 1=Corporate-name-seealso
518
519 #Name-conference         3  A meeting of individuals or     111, 411, 611, 711
520 #                           representatives of various      811
521 #                           bodies for the purpose of
522 #                           discussing topics of common
523 #                           interest.  (Subject name
524 #                           headings are included.)
525 Conference-name 1=Conference-name
526 cfn Conference-name
527
528 Conference-name-heading 1=Conference-name-heading
529 Conference-name-see 1=Conference-name-see
530 Conference-name-seealso 1=Conference-name-seealso
531
532 #Name-editor          1020  A person who prepared for       100 $a or 700 $a when
533 #                           publication an item that is     the corresponding $e
534 #                           not his or her own.             contains value 'ed.'
535 #Editor 1=1020
536
537 #Name-geographic        58  Name of a country,              651
538 #                           jurisdiction, region, or
539 #                           geographic feature.
540 Name-geographic 1=Name-geographic
541 Name-geographic-heading 1=Name-geographic-heading
542 Name-geographic-see 1=Name-geographic-see
543 Name-geographic-seealso 1=Name-geographic-seealso
544
545 # Genre/Form Term       9019 Geographic Term
546 Term-genre-form 1=Term-genre-form
547 Term-genre-form-heading 1=Term-genre-form-heading
548 Term-genre-form-see 1=Term-genre-form-see
549 Term-genre-form-seealso 1=Term-genre-form-seealso
550
551 #Name-geographic-place- 59  City or town where an item      008/15-17, 260$a
552 #publication                was published.
553 Place-publication 1=59
554 pl Place-publication
555
556 #Country-publication    1053 The country code or the        008/15-17
557 #                             country name of the country    UNIMARC 102$a
558 #                             where the document has been
559 #                             published. Entries are made
560 #                             according to ISO 3166. As
561 #                             country code a 2-digit letter
562 #                             code is used, as country name
563 #                             the English country name.
564 Country-publication 1=1053
565
566 #Name-personal           1  A person's real name,           100, 400, 600, 700,
567 #                           pseudonym, title of nobility    800
568 #                           nickname, or initials.
569 Personal-name 1=Personal-name
570 pn Personal-name
571
572 Personal-name-heading 1=Personal-name-heading
573 Personal-name-see 1=Personal-name-see
574 Personal-name-seealso 1=Personal-name-seealso
575
576 #Name-publisher       1018  The organization responsible    260$b
577 #                           for the publication of the
578 #                           item.
579 Publisher 1=1018
580 pb Publisher
581
582 #Note                   63  A concise statement in which    5XX
583 #                           such information as extended
584 #                           physical description,
585 #                           relationship to other works,
586 #                           or contents may be recorded.
587 Note 1=63
588 nt Note
589 notes Note
590
591 # Record-linking
592 Record-control-number 1=1045
593 rcn Record-control-number
594
595 #Record-source        1019  The USMARC code or name of the  008/39, 040
596 #                           organization(s) that created
597 #                           the original record, assigned
598 #                           the USMARC content designation
599 #                           and transcribed the record into
600 #                           machine-readable form, or
601 #                           modified the existing USMARC
602 #                           record; the cataloging source.
603 #Record-source        1=1019
604
605 #Server-choice        1017  The target substitutes one or
606 #                           more access points.  The origin
607 #                           leaves the choice to the target.
608 #
609 #
610 #       Notes on relationship of Any and Server-choice:
611 #        (1) When the origin uses 'Server-choice' it is asking the target
612 #            to select one or more access points, and to use its best
613 #            judgment in making that selection.  When 'Any' is used,
614 #            there is no selection process involved; the target is to
615 #            apply all of the (appropriate) supported Use attributes.
616 #            The origin is asking the target to make a choice of access
617 #            points.
618 #        (2) The target might support 'Any' and not 'Server-choice', or
619 #            vice versa, or both.  If the target supports both, when the
620 #            origin uses 'Server-choice', the target might choose 'Any';
621 #            however, it might choose any other Use attribute.
622 #Server-choice        1=1017
623
624 #Subject                21  The primary topic on which a    600, 610, 611, 630,
625 #                           work is focused.                650, 651, 653, 654,
626 #                                                           655, 656, 657, 69X
627 Subject 1=21
628 su Subject
629 su-to Subject
630 su-geo Subject
631 su-ut Subject
632 #Subject-BDI            23  Subject headings from
633 #                           Bibliotek Dokumentasjon
634 #                           Informasjon -- a controlled
635 #                           subject vocabulary used and
636 #                           maintained by the five Nordic
637 #                           countries (Denmark, Finland,
638 #                           Iceland, Norway, and Sweden).
639 #BDI-index-subject 1=23
640
641 #Subject-INSPEC         24  Subject headings from           600i2, 610i2,
642 #                           Information Services for the    611i2, 630i2,
643 #                           Physics and Engineering         650i2, 651i2
644 #                           Communities -- the Information
645 #                           Services Division of the
646 #                           Institution of Electrical
647 #                           Engineers.
648 #INSPEC-subject 1=24
649
650 #Subject-LC             27  Subject headings from           600i0, 610i0,
651 #                           US Library of Congress          611i0, 630i0,
652 #                           Subject Headings.               650i0, 651i0
653 #LC-subject-heading 1=27
654
655 #Subject-LC-          1008  Subject headings, for use       600i1, 610i1,
656 #children's                 with children's literature,     611i1, 630i1,
657 #                           that conform to the             650i1, 651i1
658 #                           formulation guidelines in
659 #                           the "AC Subject Headings"
660 #                           section of the Library of
661 #                           Congress Subject Headings.
662 #Subject-LC-childrens 1=1008
663
664 #Subject-local          29  Subjects headings defined
665 #                           locally.
666 #Local-subject-index 1=29
667
668 #Subject-MESH           25  Subject headings from           600i2, 610i2,
669 #                           Medical Subject Headings --     611i2, 630i2,
670 #                           maintained by the US National   650i2, 651i2
671 #                           Library of Medicine.
672 #MESH-subject 1=25
673
674 #Subject-name-        1009  A person's real name,           600
675 #personal                   pseudonym, title of nobility
676 #                           nickname, or initials that
677 #                           appears in a subject heading.
678 Subject-name-personal 1=1009
679 su-na 1=1009
680 #Subject-name-personal
681 #Subject-PA             26  Subject headings from           600i2, 610i2,
682 #                           Thesaurus of Psychological      611i2, 630i2,
683 #                           Index Terms -- maintained       650i2, 651i2
684 #                           by the Retrieval Services Unit
685 #                           of the American Psychological
686 #                           Association.
687 #PA-subject 1=26
688
689 #Subject-PRECIS         45  Subject headings from
690 #                           PREserved Context Index
691 #                           System -- a string of indexing
692 #                           terms set down in a prescribed
693 #                           order, each term being preceded
694 #                           by a manipulation code which
695 #                           governs the production of
696 #                           pre-coordinated subject index
697 #                           entries under selected terms --
698 #                           maintained by the British
699 #                           Library.
700 #Subject-precis 1=45
701
702 #Subject-RAMEAU         22  Subject headings from
703 #                           Repertoire d'authorite de
704 #                           matieres encyclopedique
705 #                           unifie -- maintained by the
706 #                           Bibliotheque Nationale
707 #                           (France).
708 #Subject-Rameau 1=22
709
710 #Subject-RSWK           46  Subject headings from
711 #                           Regeln fur den
712 #                           Schlagwortkatalog --
713 #                           maintained by the Deutsches
714 #                           Bibliotheksinstitut.
715 #Subject-rswk 1=46
716
717 #Subject-RVM            28  Subject headings from           600i6, 610i6,
718 #                           Repertoire des vedettes-        611i6, 630i6,
719 #                           matiere -- maintained by the    650i6, 651i6
720 #                           Bibliotheque de l'Universite
721 #                           de Laval.
722 #RVM-subject-heading 1=28
723
724 #Subject-subdivision    47  An extension to a subject       6XX$x, 6XX$y,
725 #                           heading indicating the form,    6XX$z
726 #                           place, period of time treated,
727 #                           or aspect of the subject
728 #                           treated.
729 Subject-subdivision 1=47
730
731 #Title                   4  A word, phrase, character,      130, 21X-24X, 440,
732 #                           or group of characters,         490, 730, 740, 830,
733 #                           normally appearing in an item,  840, subfield $t
734 #                           that names the item or the      in the following:
735 #                           work contained in it.           400, 410, 410, 600,
736 #                                                           610, 611, 700, 710,
737 #                                                           711, 800, 810, 811
738 Title 1=4
739 ti Title
740
741 #Title-abbreviated      43  Shortened form of the title;    210, 211 (obs.),
742 #                           either assigned by national     246
743 #                           centers under the auspices of
744 #                           the International Serials Data
745 #                           System, or a title (such as an
746 #                           acronym) that is popularly
747 #                           associated with the item.
748 #Title-abbreviated      1=43
749
750 #Title-added-title-page 37  A title on a title page         246i5
751 #                           preceding or following the
752 #                           title page chosen as the basis
753 #                           for the description of the
754 #                           item.  It may be more general
755 #                           (e.g., a series title page),
756 #                           or equally general (e.g., a
757 #                           title page in another
758 #                           language).
759 #Title-added-title-page 1=37
760
761 #Title-caption          38  A title given at the beginning  246i6
762 #                           of the first page of the text.
763 #Title-caption          1=38
764
765 #Title-collective       34  A title proper that is an       243
766 #                           inclusive title for an item
767 #                           containing several works.
768 #Title-collective       1=34
769
770 #Title-cover            36  The title printed on the        246i4
771 #                           cover of an item as issued. 
772 Title-cover 1=36
773
774 #Title-expanded         44  An expanded (or augmented)      214 (obs.), 246
775 #                           title has been enlarged with
776 #                           descriptive words by the
777 #                           cataloger to provide
778 #                           additional indexing and
779 #                           searching capabilities.
780 #Title-expanded         1=44
781
782 #Title-former           42  A former title or title         247, 780
783 #                           variation when one
784 #                           bibliographic record
785 #                           represents all issues of
786 #                           a serial that has changed
787 #                           title.
788 #Title-former           1=42
789
790 #Title-host-item      1033  The title of the item            773$t
791 #                           containing the part
792 #                           described in the record, for
793 #                           example, a journal title
794 #                           when the record describes an
795 #                           article in the journal.
796 Host-item 1=1033
797
798 #Title-key              33  The unique name assigned to     222
799 #                           a serial by the International
800 #                           Serials Data System (ISDS).
801 #Title-key              1=33
802
803 #Title-other-variant    41  A variation from the title      212 (obs.), 246i3,
804 #                           page title appearing elsewhere  247, 740
805 #                           in the item (e.g., a variant
806 #                           cover title, caption title,
807 #                           running title, or title from
808 #                           another volume) or in another
809 #                           issue.
810 #Title-other-variant    1=41
811
812 #Title-parallel         35  The title proper in another     246i1
813 #                           language and/or script.
814 #Title-parallel         1=35
815
816 #Title-related-       1026  Serial titles related to this   247, 780, 785
817 #periodical                 item, either the immediate
818 #                           predecessor or the immediate
819 #                           successor.
820 #Related-periodical 1=1026
821 #Title-running          39  A title, or abbreviated title,  246i7
822 #                           that is repeated at the head
823 #                           or foot of each page or leaf.
824 #Title-running          1=39
825
826 #Title-series            5  Collective title applying to    440, 490, 830, 840,
827 #                           a group of separate, but        subfield $t in the
828 #                           related, items.                 following: 400,410,
829 #                                                           411, 800, 810, 811
830 Title-series 1=5
831 #series Title-series
832 se Title-series
833
834 #Title-spine            40  A title appearing on the        246i8
835 #                           spine of an item.
836 #Title-spine            1=40
837
838 #Title-uniform           6  The particular title by which   130, 240, 730,
839 #                           a work is to be identified      subfield $t in the
840 #                           for cataloging purposes.        following: 700,710,
841 #                                                           711
842 Title-uniform 1=6
843 ut Title-uniform
844
845 Title-uniform-heading 1=Title-uniform-heading
846 Title-uniform-see 1=Title-uniform-see
847 Title-uniform-seealso 1=Title-uniform-seealso
848
849 #Authority-number           Koha-Auth-Number  The identifier of the authority
850 #                           record, stored in 001 in the authority record, and $9/$0 in the
851 #                           field that record is linked to in the bib record
852 Authority-Number 1=Koha-Auth-Number
853 an Authority-Number
854 Koha-Auth-Number Authority-Number
855
856 #authtype                   A coded value representing the authority type
857 #                                                            942$a in auth records
858 authtype        1=authtype
859 at authtype
860
861 # Subdivisions
862
863 Geographic-subdivision 1=Geographic-subdivision
864 Chronological-subdivision 1=Chronological-subdivision
865 Form-subdivision 1=Form-subdivision
866
867 # Koha Local-Use Authority Indexes
868 Heading 1=Heading
869 he Heading
870 See 1=See
871 See-also 1=See-also
872 Match-heading 1=Match-heading
873 Match-heading-see-from 1=Match-heading-see-from
874 Heading-use-main-or-added-entry 1=Heading-use-main-or-added-entry
875 Heading-use-series-added-entry 1=Heading-use-series-added-entry
876 Heading-use-subject-added-entry 1=Heading-use-subject-added-entry
877 Subject-heading-thesaurus 1=Subject-heading-thesaurus
878
879 ###################################################
880 ### 2. BIB1 RELATION ATTRIBUTES
881 lt 2=1
882 le 2=2
883 eq 2=3
884 ge 2=4
885 gt 2=5
886 ne 2=6
887 phonetic 2=100
888 stem 2=101
889 relevance 2=102
890 rk 2=102
891 rank relevance
892
893 allrecords 1=_ALLRECORDS
894 AlwaysMatches 2=103
895
896 Within 2=104
897
898 ###################################################
899 ### 3. BIB1 POSITION ATTRIBUTES
900 first-in-field 3=1
901
902 # we have to fake startswith until zebra supports it
903 # starts with if we want no truncation ... need to ad 'term #'
904 # finds 'starts with it' but not italian
905 # see http://lists.indexdata.dk/pipermail/yazlist/2006-July/001664.html
906 startswithnt 3=1 5=101 6=3
907
908 # starts with with truncation
909 first-in-subfield 3=2
910 any-position-in-field 3=3
911
912 ###################################################
913 ### 4. BIB1 STRUCTURE ATTRIBUTES
914 st-phrase 4=1
915 phr st-phrase
916 st-word     4=2
917 st-key  4=3
918 st-year     4=4
919 st-date-normalized  4=5
920 st-word-list    4=6
921 wrdl st-word-list
922 #st-word
923 st-date-un-normalized   4=100
924 st-name-normalized  4=101
925 st-name-un-normalized   4=102
926 st-structure    4=103
927 st-urx  4=104
928 st-free-form-text   4=105
929 st-document-text    4=106
930 st-local-number 4=107
931 st-string   4=108
932 # http://indexdata.dk/yaz/doc/tools.tkl#ccl.special.attribute.combos
933 st-numeric  4=109 r=o
934 #string 109
935
936 ###################################################
937 ### 5. BIB1 TRUNCATION ATTRIBUTES
938 right-Truncation 5=1
939 rt right-Truncation
940 rtrn right-Truncation
941 left-Truncation     5=2
942 ltrn left-Truncation
943 left-and-right  5=3
944 rltrn left-and-right
945 do-not-truncate     5=100
946 process-in-search-term 5=101
947 regExpr-1 5=102
948 fuzzy 5=103
949 regExpr-2 5=103
950 Z39-58  5=104
951
952 ###################################################
953 ### 6. BIB1 STRUCTURE ATTRIBUTES
954 incomplete-subfield 6=1
955 complete-subfield 6=2
956 complete-field 6=3
957
958 ###################################################
959 ### SPECIAL COMBINATIONS OF THE ABOVE
960 ext 4=1 6=3
961
962 ###################################################
963 ## ATTRIBUTES NOT IN BIB1
964
965 ###
966 # Koha Local-Use Biblio Indexes
967 Control-number 1=9001
968 biblionumber 1=9002
969 totalissues 1=9003
970 cn-bib-source 1=9004
971 cn-bib-sort 1=9005
972 itemtype 1=9006
973 mc-itemtype itemtype
974 cn-class 1=9007
975 cn-item 1=9008 
976 cn-prefix 1=9009
977 cn-suffix 1=9010
978 Suppress 1=9011
979 id-other 1=9012
980 date-entered-on-file 1=date-entered-on-file
981 extent 1=Extent
982 llength 1=llength
983 Summary 1=Summary
984
985 ###
986 # Items Index
987 withdrawn 1=8001
988 lost 1=8002
989 classification-source 1=8003
990 materials-specified 1=8004
991 damaged 1=8005
992 restricted 1=8006
993 cn-sort 1=8007
994 notforloan 1=8008 4=109
995 ccode 1=8009
996 mc-ccode ccode
997 itemnumber 1=8010 4=109
998 # homebranch 1=8011
999 homebranch 1=homebranch
1000 branch homebranch
1001 holdingbranch 1=8012
1002 location 1=8013
1003 mc-loc location
1004 # defined as 1=32 above
1005 #Date-of-acquisition 1=8014
1006 acqsource 1=8015
1007 coded-location-qualifier 1=8016
1008 price 1=8017
1009 Number-local-acquisition 1=1062
1010 stocknumber Number-local-acquisition
1011 inv Number-local-acquisition
1012 stack 1=8018
1013 issues 1=8019
1014 renewals 1=8020
1015 reserves 1=8021
1016 Local-classification 1=8022
1017 barcode 1=8023
1018 bc barcode
1019 onloan 1=8024
1020 datelastseen 1=8025
1021 datelastborrowed 1=8026
1022 copynumber 1=8027
1023 uri 1=8028
1024 replacementprice 1=8029
1025 replacementpricedate 1=8030
1026 itype 1=8031
1027 mc-itype itype
1028
1029 #date1 1=8801
1030 #date2 1=8802
1031
1032 ############## SUBJECT-RELATED
1033 # Topical Term
1034 #tt
1035 # Descriptor
1036 #de
1037 # Genre/Form
1038 #ge
1039 # Geographic Coverage
1040 #gc
1041
1042 ## Additional Author distinctions needed for field weighting
1043 # lastname,firstname entry in $100$a
1044 Author-personal-bibliography 1=8900
1045 aub Author-personal-bibliography
1046
1047 # Author-in-order - firstname lastname in 245$c statement of responsibility
1048 Author-in-order 1=8901
1049 auo Author-in-order
1050
1051
1052 #### Indexes for MARC Coded informations (008, 007, 040...)
1053 #### 8800-8841, 8700-8703, 8740, 9900-9904, 9913, 9658
1054
1055 ## Indexes common to Marc21 and UNIMARC :
1056 # Marc21 008/06 : Type of publication date (see UNIMARC 100/08)
1057 tpubdate 1=8806
1058
1059 # Marc21 008/38 : Modified Record (see UNIMARC 100/21)
1060 Modified-code 1=8838
1061
1062 # Marc21 008/22 : Target Audience (see UNIMARC 100/17-19)
1063 ta 1=8822
1064 ff8-22 ta
1065 aud ta
1066 audience ta
1067
1068 ## Indexes slightly different in Marc21 and UNIMARC (different meanings according to the type of the record => don't match a single UNIMARC field)
1069 ## We can use it for UNIMARC to a first approximation
1070 # Marc21 008/18 : For Serials, frequency (see UNIMARC 110/1). For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music, Form of Composition. For Visual Materials, Running time.
1071 ff8-18 1=8818
1072 Frequency-code ff8-18
1073
1074 # Marc21 008/18-21 : For Books, Illustrations (see UNIMARC 100/0-3). For Maps, relief. For Music (18-19), Form of Composition. For Visual Materials (18-20), Running time. For Serials (18), frequency
1075 ff8-18-21 1=8840
1076 Illustration-code ff8-18-21
1077
1078 # Marc21 008/19 : For Serials, Regularity (see UNIMARC 110/2). For Music, Form of composition. For Books, illustrations. For Visual Materials, Running time
1079 ff8-19 1=8819
1080 Regularity-code ff8-19
1081
1082 # Marc21 008/21 : For Serials, Type of serial (see UNIMARC 110/0). For Music, Music parts. For Maps, relief
1083 ff8-21 1=8821
1084 Type-Of-Serial ff8-21
1085
1086 # Marc21 008/23 : For Books, Serials, Music, Mixed Materials, Computer files, Form of Item (see UNIMARC 106$a). For Maps, Projection
1087 ff8-23 1=8823
1088 format ff8-23
1089
1090 # Marc21 008/24-27 : For Books, Nature of contents (see  UNIMARC 105/4-7), for and Serials (24 only), Nature of contents (see UNIMARC 110/3). For Computer Files (26 only), type of file. For Music, Accompanying matter. For Maps (25 only), type of cartographic material
1091 # ff8-24-27 1=8841
1092 # Content-type ff8-24-27
1093 # Use ctype att (1034)
1094
1095 # Marc21 008/28 : Government publication (see UNIMARC 100/20). except for Music, Accompanying matter
1096 ff8-28 1=8828
1097
1098 # Marc21 008/29 : For Books and Serials, Conference code (see UNIMARC 105/8 and 110/7). For Maps and Visual Materials, Form of item
1099 ff8-29 1=8829
1100 Conference-code ff8-29
1101
1102 # Marc21 008/30 : For Books, Festchrift indicator (see UNIMARC 105/9). For Music, Literary text for sound recordings
1103 ff8-30 1=8830
1104 Festschrift-indicator ff8-30
1105
1106 # Marc21 008/31 : For Books and Maps, Index indicator (see UNIMARC 105/10). For Music, Literary text for sound recordings
1107 ff8-31 1=8831
1108 Index-indicator ff8-31
1109
1110 # Marc21 008/33 : For Books, Literary form (see UNIMARC : 105/11). For Serials, Script of title (see UNIMARC 100/34-35). For Music, Transposition and arrangement. For Visual Materials, Type of visual materials. For Maps, Special format characteristics
1111 lf 1=8833
1112 fiction lf
1113 fic lf
1114 Literature-Code lf
1115
1116 # Marc21 008/34 : For Books, Biography. For Maps, Special format characteristics. For Continuing ressources, Entry convention. For Visual Materials, Technique. UNIMARC 105/12 : Biography code
1117 bio 1=8834
1118 biography bio
1119 ff8-34 bio
1120 Biography-Code bio
1121
1122 ## positions of Marc21 007 (1 byte)
1123 ff7-00 1=8700
1124 ff7-01 1=8701
1125 ff7-02 1=8702
1126 ff7-01-02 1=8703
1127 l-format ff7-01-02
1128
1129 # Lexile Number
1130 lex 1=9903 r=r
1131
1132 #Accelerated Reader Level
1133 arl 1=9904 r=r
1134
1135 #Accelerated Reader Point
1136 arp 1=9013 r=r
1137
1138 # Curriculum
1139 curriculum 1=9658
1140
1141 ## UNIMARC Only
1142 ## 97XX
1143
1144 Video-mt 1=9701
1145 video-mt Video-mt
1146 Graphics-type 1=9702
1147 Graphic-type Graphics-type
1148 Graphics-support 1=9703
1149 Graphic-support Graphics-support
1150 Title-page-availability 1=9704
1151 Cumulative-index-availability 1=9705
1152 script-Title 1=9706
1153 char-encoding 1=9707
1154
1155 ## Statuses
1156 popularity 1=issues
1157
1158 ## Type Limits
1159 dt-bks 1=8700
1160 dt-vis 1=8700
1161 dt-sr 1=8700
1162 dt-cf 1=8700
1163 dt-map 1=8700
1164
1165 # Rank Weights
1166 r1 9=32
1167 r2 9=28
1168 r3 9=26
1169 r4 9=24
1170 r5 9=22
1171 r6 9=20
1172 r7 9=18
1173 r8 9=16
1174 r9 9=14
1175
1176 # Sorting
1177 title-sort-za 7=2 1=36
1178 title-sort-az 7=1 1=36
1179
1180 sort1 7=1
1181 sort2 7=2
1182 sort3 7=3
1183
1184 ###################################################
1185 # CCL DIRECTIVES
1186 # Truncation characters (it seems to take multiple arguments)
1187 @truncation ? *
1188 # field specifies how multiple fields are to be combined.
1189 # There are two modes: or: multiple qualifier fields are
1190 # ORed, merge: attributes for the qualifier fields are
1191 # merged and assigned to one term.
1192 @field merge
1193 # case specificies if CCL operatores and qualifiers
1194 # should be compared with case sensitivity or not.
1195 # Specify 0 for case sensitive; 1 for case insensitive.
1196 @case 0
1197 # Tokens for CCL operators (it seems you can assign multiple tokens per operator which is nice)
1198 @and and +
1199 #and +
1200 @or or |
1201 #or |
1202 # make sure - doesn't conflict with another usage of this token
1203 @not not !
1204 #not
1205 @set set
1206 # Not sure if you can specify tokens for prox operators, but here are the defaults
1207 # proximity of a, b - distance n - any order:
1208 # a %n b
1209 # proximity of a, b - distance n - in order:
1210 # a !n b
1211 # Integer n may be omitted - in which case distance is 1.
1212
1213 ###################################################
1214 # Rules for a few bath atts
1215 # For recent changes in this section, see Bugzilla #3735
1216 #keyTitle 1=33
1217 #possessingInstitution 1=1044
1218 #personalName 1=1
1219 #corporateName 1=2
1220 #conferenceName 1=3
1221 #uniformTitle 1=6
1222 #geographicName 1=58
1223 #topicalSubject 1=1079
1224 #genreForm 1=1075
1225
1226 ###################################################
1227 # Rules for a few GILS fields
1228 #north  gils-attset,u=2040 r=o
1229 #south  gils-attset,u=2041 r=o
1230 #east  gils-attset,u=2038 r=o
1231 #west  gils-attest,u=2039 r=o
1232 #distributor gils-attset,u=2000 s=pw
1233 #distributorname gils-attset,u=2001 s=pw
1234
1235 ###################################################
1236 # Explain fields
1237 ExplainCategory      exp1,1=1
1238 HumanStringLanguage  exp1,1=2
1239 DatabaseName         exp1,1=3
1240 TargetName           exp1,1=4
1241 AttributeSetOID      exp1,1=5
1242 RecordSyntaxOID      exp1,1=6
1243 TagSetOID            exp1,1=7
1244 ExtededServiceOID    exp1,1=8
1245 DateAdded            exp1,1=9
1246 DateChanged          exp1,1=10
1247 DateExpires          exp1,1=11
1248 ElementSetName       exp1,1=12
1249
1250 Item 1=9520
1251 item Item
1252
1253 Host-Item-Number 1=8911
1254 hi Host-Item-Number
1255
1256 Index-term-uncontrolled 1=9653
1257 itu Index-term-uncontrolled
1258
1259 Index-term-genre 1=9655
1260 itg Index-term-genre
1261
1262 ln-audio 1=9906
1263 ln-subtitle 1=9907