Bug 3735: Wrong search results for a few fields in ccl.properties
[wip/koha-chris_n.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 #Code-map-scale       1024  Coded form of cartographic      034
258 #                           mathematical data, including
259 #                           scale, projection and/or
260 #                           coordinates related to the
261 #                           item.
262 #Map-scale 1=1024
263
264 #Code-microform-        61  The code specifying the         007/11
265 #generation                 generation of a microform.
266 #Microform-generation 1=61
267 #material-designation Microform-generation
268
269 #Code-record-type     1001  A code that specifies the       Leader/06
270 #                           characteristics and defines
271 #                           the components of the record.
272 #                           The codes are target-specific.
273 Record-type 1=1001
274 rtype Record-type
275 mc-rtype Record-type
276 mus Record-type
277
278 #Concept-reference    1015  Used within Z39.50-1988;
279 #                           included here for historical
280 #                           reasons but its use is
281 #                           deprecated.
282 #Concept-reference 1=1015
283
284 #Concept-text         1014  Used within Z39.50-1988;
285 #                           included here for historical
286 #                           reasons but its use is
287 #                           deprecated.
288 #Concept-text        1=1014
289
290 #Content-type         1034  The type of materials           derived value
291 #                           contained in the item or        from 008/24-27
292 #                           publication.  For example:
293 #                           review, catalog, encyclopedia,
294 #                           directory.
295 Content-type 1=1034 t=b
296 ctype Content-type
297
298 #Control number-BNB     10  Character string that uniquely  015
299 #                           identifies a record in the
300 #                           British National Bibliography.
301 #BNB-card-number 1=10
302
303 #Control number-BNF     11  Character string that uniquely  015
304 #                           identifies a record in the
305 #                           Bibliotheque Nationale Francais.
306 #BGF-number 1=11
307
308 #Control number-DB      52  Character string that uniquely  015
309 #                           identifies a record in the
310 #                           Deutsche Bibliothek.
311 #Number-db 1=52
312
313 #Control number-LC       9  Character string that uniquely  010, 011
314 #                           identifies a record in the
315 #                           Library of Congress database.
316 LC-card-number 1=9
317 lc-card LC-card-number
318
319 #Control number-local   12  Character string that uniquely  001, 035
320 #                           identifies a record in a local
321 #                           system (i.e., any system that
322 #                           is not one of the four listed
323 #                           above).
324 Local-number 1=12
325 sn Local-number
326
327 #Date                   30  The point of time at which      005, 008/00-05,
328 #                           a transaction or event          008/07-10, 260$c,
329 #                           takes place.                    008/11-14, 033,etc.
330 # interpreting this as the copyright date in 260$c
331 copydate 1=30 r=r
332
333 #Date-publication       31  The date (usually year) in      008/07-10, 260$c
334 #                           which a document is published.  046, 533$d
335 Date-of-publication 1=pubdate r=r
336 #dp Date-of-publication
337 yr Date-of-publication
338 pubdate Date-of-publication
339
340 #Date-acquisition       32  The date when a document was    541$d
341 #                           acquired.
342 Date-of-acquisition 1=Date-of-acquisition
343 acqdate Date-of-acquisition
344 #da Date-of-acquisition
345
346 #Date/time added to   1011  The date and time that a        008/00-05
347 #database                   record was added to the
348 #                           database.
349 #Date-time-added-to-db 1=1011
350
351 #Date/time last       1012  The date and time a record      005
352 #modified                   was last updated.
353 #Date-time-last-modified       1=1012
354
355 #Identifier--         1013  Used in full-text searching
356 #authority/format           to indicate to the target
357 #                           system the format of the
358 #                           document that should be
359 #                           returned to the originating
360 #                           system.  The attribute carries
361 #                           not only the format code, but
362 #                           also the authority (e.g.,
363 #                           system) that assigned that
364 #                           code.
365 #Authority/format-id 1=1013
366
367 #Identifier-CODEN       60  A six-character, unique,        030
368 #                           alphanumeric code assigned
369 #                           to serial and monographic
370 #                           publications by the CODEN
371 #                           section of the Chemical
372 #                           Abstracts Service.
373 #CODEN 1=60
374
375 #Identifier-document  1032  An identifier or Doc-ID,  
376 #                           assigned by a server, that 
377 #                           uniquely identifies a document 
378 #                           on that server. May or may 
379 #                           not be persistent. May be, 
380 #                           for example, a URL.
381 #            Note: this definition was modified October 1997.
382 #Doc-id 1=1032
383
384 #Identifier-ISBN         7  International Standard Book     020
385 #                           Number -- internationally
386 #                           agreed upon number that
387 #                           identifies a book uniquely.
388 #                           Cf. ANSI/NISO Z39.21 and
389 #                           ISO 2108.
390 ISBN 1=7
391 nb ISBN
392
393 #Identifier-ISSN         8  International Standard Serial   022, 4XX$x,
394 #                           Number -- internationally       7XX$x
395 #                           agreed upon number that
396 #                           identifies a serial uniquely.
397 #                           Cf. ANSI/NISO z39.9 and
398 #                           ISO 3297.
399 ISSN 1=8
400 ns ISSN
401
402 #Identifier-legal-      49  The copyright registration      017
403 #deposit                    number that is assigned to
404 #                           an item when the item is
405 #                           deposited for copyright.
406 #Number-legal-deposit 1=49
407
408 #Identifier-local-call  53  Call number (e.g., shelf location)
409 #                           assigned by a local system
410 #                           (not a classification number).
411 #Number-local-call 1=53
412
413 #Identifier-national-   48  Character string that uniquely  015
414 #bibliography               identifies a record in a
415 #                           national bibliography.
416 #Number-natl-biblio 1=48
417
418 #Identifier-publisher-  51  A formatted number assigned     028
419 #for-music                  by a publisher to a sound
420 #                           recording or to printed music.
421 #Number-music-publisher 1=51
422
423 #Identifier-report    1027  A report number assigned to     027, 088
424 #                           the item. This number could be
425 #                           the STRN (Standard Technical
426 #                           Report Number) or another
427 #                           report number.
428 #                           Cf. ANSI/NISO Z39.23 and
429 #                           ISO 10444.
430 #Report-number 1=1027
431
432 #Identifier-standard  1007  Standard numbers such as ISBN,  010, 011, 015, 017,
433 #                           ISSN, music publishers          018, 020, 022, 023,
434 #                           numbers, CODEN, etc., that      024, 025, 027, 028,
435 #                           are indexed together in many    030, 035, 037
436 #                           online public-access catalogs.
437 #Identifier-standard  1=1007 4=6
438 #
439 #Identifier-stock     1028  A stock number that could be    037
440 #                           used for ordering the item.
441 Stock-number 1=1028
442
443 #Identifier-thematic  1030  The numeric designation for a   $n in the following:
444 #                           part/section of a work such as  130, 240, 243, 630,
445 #                           the serial, opus or thematic    700, 730
446 #                           index number.
447 #Thematic-number 1=1030
448
449 #Indexed-by           1023  For serials, a publication      510
450 #                           in which the serial has been
451 #                           indexed and/or abstracted.
452 #Indexed-by          1=1023
453
454 #Material-type        1031  A free-form string, more        derived value from
455 #                           specific than the one-letter    Leader/06-07, 007,
456 #                           code in Leader/06, that         008, and 502
457 #                           describes the material type
458 #                           of the item, e.g., cassette,
459 #                           kit, computer database,
460 #                           computer file.
461 Material-type 1=1031
462
463 #Music-key            1025  A statement of the key in       $r in the following:
464 #                           which the music is written.     130, 240, 243, 630,
465 #                                                           700, 730
466 #Music-key            1=1025
467
468 #Name                 1002  The name of a person, corporate 100, 110, 111, 400,
469 #                           body, conference, or meeting.   410, 411, 600, 610,
470 #                           (Subject name headings are      611, 700, 710, 711,
471 #                           included.)                      800, 810, 811
472 #Name                 1=1002
473
474 #Name-and-title         57  The name of a person, corporate 100/2XX, 110/2XX,
475 #                           body, conference, or meeting,   111/2XX, subfields
476 #                           and the title of an item.       $a & $t in
477 #                           (Subject name headings are      following: 400,410,
478 #                           included.)  The syntax of the   411, 600, 610, 611,
479 #                           name-title combination is up    700, 710, 711, 800,
480 #                           to the target, unless used      810, 811
481 #                           with the Structure attribute
482 #                           Key (see below).
483 #Name-and-title         1=57
484
485 #Name-corporate          2  An organization or a group      110, 410, 610, 710,
486 #                           of persons that is identified   810
487 #                           by a particular name. (Subject
488 #                           name headings are included.)
489 Corporate-name 1=Corporate-name
490 cpn Corporate-name
491
492 Corporate-name-heading 1=Corporate-name-heading
493 Corporate-name-see 1=Corporate-name-see
494 Corporate-name-seealso 1=Corporate-name-seealso
495
496 #Name-conference         3  A meeting of individuals or     111, 411, 611, 711
497 #                           representatives of various      811
498 #                           bodies for the purpose of
499 #                           discussing topics of common
500 #                           interest.  (Subject name
501 #                           headings are included.)
502 Conference-name 1=Conference-name
503 cfn Conference-name
504
505 Conference-name-heading 1=Conference-name-heading
506 Conference-name-see 1=Conference-name-see
507 Conference-name-seealso 1=Conference-name-seealso
508
509 #Name-editor          1020  A person who prepared for       100 $a or 700 $a when
510 #                           publication an item that is     the corresponding $e
511 #                           not his or her own.             contains value 'ed.'
512 #Editor 1=1020
513
514 #Name-geographic        58  Name of a country,              651
515 #                           jurisdiction, region, or
516 #                           geographic feature.
517 Name-geographic 1=Name-geographic
518 Name-geographic-heading 1=Name-geographic-heading
519 Name-geographic-see 1=Name-geographic-see
520 Name-geographic-seealso 1=Name-geographic-seealso
521
522 # Genre/Form Term       9019 Geographic Term
523 Term-genre-form 1=Term-genre-form
524 Term-genre-form-heading 1=Term-genre-form-heading
525 Term-genre-form-see 1=Term-genre-form-see
526 Term-genre-form-seealso 1=Term-genre-form-seealso
527
528 #Name-geographic-place- 59  City or town where an item      008/15-17, 260$a
529 #publication                was published.
530 Place-publication 1=59
531 pl Place-publication
532
533 #Name-personal           1  A person's real name,           100, 400, 600, 700,
534 #                           pseudonym, title of nobility    800
535 #                           nickname, or initials.
536 Personal-name 1=Personal-name
537 pn Personal-name
538
539 Personal-name-heading 1=Personal-name-heading
540 Personal-name-see 1=Personal-name-see
541 Personal-name-seealso 1=Personal-name-seealso
542
543 #Name-publisher       1018  The organization responsible    260$b
544 #                           for the publication of the
545 #                           item.
546 Publisher 1=1018
547 pb Publisher
548
549 #Note                   63  A concise statement in which    5XX
550 #                           such information as extended
551 #                           physical description,
552 #                           relationship to other works,
553 #                           or contents may be recorded.
554 Note 1=63
555 nt Note
556
557 # Record-linking
558 Record-control-number 1=1045
559 rcn Record-control-number
560
561 #Record-source        1019  The USMARC code or name of the  008/39, 040
562 #                           organization(s) that created
563 #                           the original record, assigned
564 #                           the USMARC content designation
565 #                           and transcribed the record into
566 #                           machine-readable form, or
567 #                           modified the existing USMARC
568 #                           record; the cataloging source.
569 #Record-source        1=1019
570
571 #Server-choice        1017  The target substitutes one or
572 #                           more access points.  The origin
573 #                           leaves the choice to the target.
574 #
575 #
576 #       Notes on relationship of Any and Server-choice:
577 #        (1) When the origin uses 'Server-choice' it is asking the target
578 #            to select one or more access points, and to use its best
579 #            judgment in making that selection.  When 'Any' is used,
580 #            there is no selection process involved; the target is to
581 #            apply all of the (appropriate) supported Use attributes.
582 #            The origin is asking the target to make a choice of access
583 #            points.
584 #        (2) The target might support 'Any' and not 'Server-choice', or
585 #            vice versa, or both.  If the target supports both, when the
586 #            origin uses 'Server-choice', the target might choose 'Any';
587 #            however, it might choose any other Use attribute.
588 #Server-choice        1=1017
589
590 #Subject                21  The primary topic on which a    600, 610, 611, 630,
591 #                           work is focused.                650, 651, 653, 654,
592 #                                                           655, 656, 657, 69X
593 Subject 1=21
594 su Subject
595 su-to Subject
596 su-geo Subject
597 su-ut Subject
598 #Subject-BDI            23  Subject headings from
599 #                           Bibliotek Dokumentasjon
600 #                           Informasjon -- a controlled
601 #                           subject vocabulary used and
602 #                           maintained by the five Nordic
603 #                           countries (Denmark, Finland,
604 #                           Iceland, Norway, and Sweden).
605 #BDI-index-subject 1=23
606
607 #Subject-INSPEC         24  Subject headings from           600i2, 610i2,
608 #                           Information Services for the    611i2, 630i2,
609 #                           Physics and Engineering         650i2, 651i2
610 #                           Communities -- the Information
611 #                           Services Division of the
612 #                           Institution of Electrical
613 #                           Engineers.
614 #INSPEC-subject 1=24
615
616 #Subject-LC             27  Subject headings from           600i0, 610i0,
617 #                           US Library of Congress          611i0, 630i0,
618 #                           Subject Headings.               650i0, 651i0
619 #LC-subject-heading 1=27
620
621 #Subject-LC-          1008  Subject headings, for use       600i1, 610i1,
622 #children's                 with children's literature,     611i1, 630i1,
623 #                           that conform to the             650i1, 651i1
624 #                           formulation guidelines in
625 #                           the "AC Subject Headings"
626 #                           section of the Library of
627 #                           Congress Subject Headings.
628 #Subject-LC-childrens 1=1008
629
630 #Subject-local          29  Subjects headings defined
631 #                           locally.
632 #Local-subject-index 1=29
633
634 #Subject-MESH           25  Subject headings from           600i2, 610i2,
635 #                           Medical Subject Headings --     611i2, 630i2,
636 #                           maintained by the US National   650i2, 651i2
637 #                           Library of Medicine.
638 #MESH-subject 1=25
639
640 #Subject-name-        1009  A person's real name,           600
641 #personal                   pseudonym, title of nobility
642 #                           nickname, or initials that
643 #                           appears in a subject heading.
644 Subject-name-personal 1=1009
645 su-na 1=1009
646 #Subject-name-personal
647 #Subject-PA             26  Subject headings from           600i2, 610i2,
648 #                           Thesaurus of Psychological      611i2, 630i2,
649 #                           Index Terms -- maintained       650i2, 651i2
650 #                           by the Retrieval Services Unit
651 #                           of the American Psychological
652 #                           Association.
653 #PA-subject 1=26
654
655 #Subject-PRECIS         45  Subject headings from
656 #                           PREserved Context Index
657 #                           System -- a string of indexing
658 #                           terms set down in a prescribed
659 #                           order, each term being preceded
660 #                           by a manipulation code which
661 #                           governs the production of
662 #                           pre-coordinated subject index
663 #                           entries under selected terms --
664 #                           maintained by the British
665 #                           Library.
666 #Subject-precis 1=45
667
668 #Subject-RAMEAU         22  Subject headings from
669 #                           Repertoire d'authorite de
670 #                           matieres encyclopedique
671 #                           unifie -- maintained by the
672 #                           Bibliotheque Nationale
673 #                           (France).
674 #Subject-Rameau 1=22
675
676 #Subject-RSWK           46  Subject headings from
677 #                           Regeln fur den
678 #                           Schlagwortkatalog --
679 #                           maintained by the Deutsches
680 #                           Bibliotheksinstitut.
681 #Subject-rswk 1=46
682
683 #Subject-RVM            28  Subject headings from           600i6, 610i6,
684 #                           Repertoire des vedettes-        611i6, 630i6,
685 #                           matiere -- maintained by the    650i6, 651i6
686 #                           Bibliotheque de l'Universite
687 #                           de Laval.
688 #RVM-subject-heading 1=28
689
690 #Subject-subdivision    47  An extension to a subject       6XX$x, 6XX$y,
691 #                           heading indicating the form,    6XX$z
692 #                           place, period of time treated,
693 #                           or aspect of the subject
694 #                           treated.
695 Subject-subdivision 1=47
696
697 #Title                   4  A word, phrase, character,      130, 21X-24X, 440,
698 #                           or group of characters,         490, 730, 740, 830,
699 #                           normally appearing in an item,  840, subfield $t
700 #                           that names the item or the      in the following:
701 #                           work contained in it.           400, 410, 410, 600,
702 #                                                           610, 611, 700, 710,
703 #                                                           711, 800, 810, 811
704 Title 1=4
705 ti Title
706
707 #Title-abbreviated      43  Shortened form of the title;    210, 211 (obs.),
708 #                           either assigned by national     246
709 #                           centers under the auspices of
710 #                           the International Serials Data
711 #                           System, or a title (such as an
712 #                           acronym) that is popularly
713 #                           associated with the item.
714 #Title-abbreviated      1=43
715
716 #Title-added-title-page 37  A title on a title page         246i5
717 #                           preceding or following the
718 #                           title page chosen as the basis
719 #                           for the description of the
720 #                           item.  It may be more general
721 #                           (e.g., a series title page),
722 #                           or equally general (e.g., a
723 #                           title page in another
724 #                           language).
725 #Title-added-title-page 1=37
726
727 #Title-caption          38  A title given at the beginning  246i6
728 #                           of the first page of the text.
729 #Title-caption          1=38
730
731 #Title-collective       34  A title proper that is an       243
732 #                           inclusive title for an item
733 #                           containing several works.
734 #Title-collective       1=34
735
736 #Title-cover            36  The title printed on the        246i4
737 #                           cover of an item as issued. 
738 Title-cover 1=36
739
740 #Title-expanded         44  An expanded (or augmented)      214 (obs.), 246
741 #                           title has been enlarged with
742 #                           descriptive words by the
743 #                           cataloger to provide
744 #                           additional indexing and
745 #                           searching capabilities.
746 #Title-expanded         1=44
747
748 #Title-former           42  A former title or title         247, 780
749 #                           variation when one
750 #                           bibliographic record
751 #                           represents all issues of
752 #                           a serial that has changed
753 #                           title.
754 #Title-former           1=42
755
756 #Title-host-item      1033  The title of the item            773$t
757 #                           containing the part
758 #                           described in the record, for
759 #                           example, a journal title
760 #                           when the record describes an
761 #                           article in the journal.
762 Host-item 1=1033
763
764 #Title-key              33  The unique name assigned to     222
765 #                           a serial by the International
766 #                           Serials Data System (ISDS).
767 #Title-key              1=33
768
769 #Title-other-variant    41  A variation from the title      212 (obs.), 246i3,
770 #                           page title appearing elsewhere  247, 740
771 #                           in the item (e.g., a variant
772 #                           cover title, caption title,
773 #                           running title, or title from
774 #                           another volume) or in another
775 #                           issue.
776 #Title-other-variant    1=41
777
778 #Title-parallel         35  The title proper in another     246i1
779 #                           language and/or script.
780 #Title-parallel         1=35
781
782 #Video
783 video-mt 1=Video-mt
784 Video-mt video-mt
785 Graphics-type 1=Graphic-type
786 Graphics-support 1=Graphic-support
787 Type-Of-Serial 1=Type-Of-Serial
788 Frequency-code 1=Frequency-code
789 Regularity-code 1=Regularity-code
790 Material-type   1=Material-type
791 Literature-Code 1=Literature-Code
792 Biography-code  1=Biography-code
793 Illustration-code       1=Illustration-code
794
795 #Title-related-       1026  Serial titles related to this   247, 780, 785
796 #periodical                 item, either the immediate
797 #                           predecessor or the immediate
798 #                           successor.
799 #Related-periodical 1=1026
800 #Title-running          39  A title, or abbreviated title,  246i7
801 #                           that is repeated at the head
802 #                           or foot of each page or leaf.
803 #Title-running          1=39
804
805 #Title-series            5  Collective title applying to    440, 490, 830, 840,
806 #                           a group of separate, but        subfield $t in the
807 #                           related, items.                 following: 400,410,
808 #                                                           411, 800, 810, 811
809 Title-series 1=5
810 #series Title-series
811 se Title-series
812
813 #Title-spine            40  A title appearing on the        246i8
814 #                           spine of an item.
815 #Title-spine            1=40
816
817 #Title-uniform           6  The particular title by which   130, 240, 730,
818 #                           a work is to be identified      subfield $t in the
819 #                           for cataloging purposes.        following: 700,710,
820 #                                                           711
821 Title-uniform 1=Title-uniform
822 ut Title-uniform
823
824 Title-uniform-heading 1=Title-uniform-heading
825 Title-uniform-see 1=Title-uniform-see
826 Title-uniform-seealso 1=Title-uniform-seealso
827
828 #Authority-number           Koha-Auth-Number  The identifier of the the authority
829 #                           record, stored in 001 in the authority record, and $9/$0 in the
830 #                           field that record is linked to in the bib record
831 Authority-Number 1=Koha-Auth-Number
832 an Authority-Number
833 Koha-Auth-Number Authority-Number
834
835 #authtype                   A coded value representing the authority type
836 #                                                            942$a in auth records
837 authtype        1=authtype
838 at authtype
839
840 # Subdivisions
841
842 Geographic-subdivision 1=Geographic-subdivision
843 Chronological-subdivision 1=Chronological-subdivision
844 Form-subdivision 1=Form-subdivision
845
846 # Koha Local-Use Authority Indexes
847 Heading 1=Heading
848 he Heading
849 See 1=See
850 See-also 1=See-also
851 Match-heading 1=Match-heading
852 Match-heading-see-from 1=Match-heading-see-from
853 Heading-use-main-or-added-entry 1=Heading-use-main-or-added-entry
854 Heading-use-series-added-entry 1=Heading-use-series-added-entry
855 Heading-use-subject-added-entry 1=Heading-use-subject-added-entry
856 Subject-heading-thesaurus 1=Subject-heading-thesaurus
857
858 ###################################################
859 ### 2. BIB1 RELATION ATTRIBUTES
860 lt 2=1
861 le 2=2
862 eq 2=3
863 ge 2=4
864 ne 2=5
865 phonetic 2=6
866 stem 2=100
867 relevance 2=102
868 rk 2=102
869 rank relevance
870
871 allrecords 1=_ALLRECORDS
872 AlwaysMatches 2=103
873
874 Within 2=104
875
876 ###################################################
877 ### 3. BIB1 POSITION ATTRIBUTES
878 first-in-field 3=1
879
880 # we have to fake startswith until zebra supports it
881 # starts with if we want no truncation ... need to ad 'term #'
882 # finds 'starts with it' but not italian
883 # see http://lists.indexdata.dk/pipermail/yazlist/2006-July/001664.html
884 startswithnt 3=1 5=101 6=3
885
886 # starts with with truncation
887 first-in-subfield 3=2
888 any-position-in-field 3=3
889
890 ###################################################
891 ### 4. BIB1 STRUCTURE ATTRIBUTES
892 st-phrase 4=1
893 phr st-phrase
894 st-word     4=2
895 st-key  4=3
896 st-year     4=4
897 st-date-normalized  4=5
898 st-word-list    4=6
899 wrdl st-word-list
900 #st-word
901 st-date-un-normalized   4=100
902 st-name-normalized  4=101
903 st-name-un-normalized   4=102
904 st-structure    4=103
905 st-urx  4=104
906 st-free-form-text   4=105
907 st-document-text    4=106
908 st-local-number 4=107
909 st-string   4=108
910 # http://indexdata.dk/yaz/doc/tools.tkl#ccl.special.attribute.combos
911 st-numeric  4=109 r=o
912 #string 109
913
914 ###################################################
915 ### 5. BIB1 TRUNCATION ATTRIBUTES
916 right-Truncation 5=1
917 rt right-Truncation
918 rtrn right-Truncation
919 left-Truncation     5=2
920 ltrn left-Truncation
921 left-and-right  5=3
922 rltrn left-and-right
923 do-not-truncate     5=100
924 process-in-search-term 5=101
925 regExpr-1 5=102
926 fuzzy 5=103
927 regExpr-2 5=103
928 Z39-58  5=104
929
930 ###################################################
931 ### 6. BIB1 STRUCTURE ATTRIBUTES
932 incomplete-subfield 6=1
933 complete-subfield 6=2
934 complete-field 6=3
935
936 ###################################################
937 ### SPECIAL COMBINATIONS OF THE ABOVE
938 ext 4=1 6=3
939
940 ###################################################
941 ## ATTRIBUTES NOT IN BIB1
942
943 ###
944 # Koha Local-Use Biblio Indexes
945 Control-number 1=9001
946 biblionumber 1=9002
947 totalissues 1=9003
948 cn-bib-source 1=9004
949 cn-bib-sort 1=9005
950 itemtype 1=9006
951 mc-itemtype itemtype
952 cn-class 1=9007
953 cn-item 1=9008 
954 cn-prefix 1=9009
955 cn-suffix 1=9010
956 Suppress 1=9011
957 id-other 1=9012
958 date-entered-on-file 1=date-entered-on-file
959 extent 1=Extent
960 llength 1=llength
961 Summary 1=Summary
962
963 ###
964 # Items Index
965 withdrawn 1=8001
966 lost 1=8002
967 classification-source 1=8003
968 materials-specified 1=8004
969 damaged 1=8005
970 restricted 1=8006
971 cn-sort 1=8007
972 notforloan 1=8008 4=109
973 ccode 1=8009
974 mc-ccode ccode
975 itemnumber 1=8010
976 # homebranch 1=8011
977 homebranch 1=homebranch
978 branch homebranch
979 holdingbranch 1=8012
980 location 1=8013
981 mc-loc location
982 # defined as 1=32 above
983 #Date-of-acquisition 1=8014
984 acqsource 1=8015
985 coded-location-qualifier 1=8016
986 price 1=8017
987 stack 1=8018
988 issues 1=8019
989 renewals 1=8020
990 reserves 1=8021
991 Local-classification 1=8022
992 barcode 1=8023
993 bc barcode
994 onloan 1=8024
995 datelastseen 1=8025
996 datelastborrowed 1=8026
997 copynumber 1=8027
998 uri 1=8028
999 replacementprice 1=8029
1000 replacementpricedate 1=8030
1001 itype 1=8031
1002 mc-itype itype
1003
1004 #date1 1=8801
1005 #date2 1=8802
1006 ff8-22 1=8822
1007 ff8-23 1=8823
1008 ff8-34 1=8834
1009
1010 #att 8700            ff7-00
1011 #att 8701            ff7-01
1012 #att 8702            ff7-02
1013
1014 ############## SUBJECT-RELATED
1015 # Topical Term
1016 #tt
1017 # Descriptor
1018 #de
1019 # Genre/Form
1020 #ge
1021 # Geographic Coverage
1022 #gc
1023
1024 ## Additional Author distinctions needed for field weighting
1025 # lastname,firstname entry in $100$a
1026 Author-personal-bibliography 1=8900
1027 aub Author-personal-bibliography
1028
1029 # Author-in-order - firstname lastname in 245$c statement of responsibility
1030 Author-in-order 1=8901
1031 auo Author-in-order
1032
1033 # Audience
1034 audience 1=8822
1035 aud audience
1036
1037 # Content and Literary form
1038 fiction 1=8833
1039 fic fiction
1040 #mystery 1=?
1041 biography 1=8834
1042 bio biography
1043
1044 # Format
1045 format 1=8823
1046 # format used as a limit FIXME: needed?
1047 l-format 1=8703
1048
1049 Illustration-code 1=Illustration-code 
1050
1051 # Lexile Number
1052 lex 1=9903 r=r
1053
1054 #Accelerated Reader Level
1055 arl 1=9904 r=r
1056
1057 #Accelerated Reader Point
1058 arp 1=9013 r=r
1059 # Curriculum
1060 curriculum 1=9658
1061
1062 ## Statuses
1063 popularity 1=issues
1064
1065 ## Type Limits
1066 dt-bks 1=8700
1067 dt-vis 1=8700
1068 dt-sr 1=8700
1069 dt-cf 1=8700
1070 dt-map 1=8700
1071
1072 # Rank Weights
1073 r1 9=32
1074 r2 9=28
1075 r3 9=26
1076 r4 9=24
1077 r5 9=22
1078 r6 9=20
1079 r7 9=18
1080 r8 9=16
1081 r9 9=14
1082
1083 # Sorting
1084 title-sort-za 7=2 1=36
1085 title-sort-az 7=1 1=36
1086
1087 sort1 7=1
1088 sort2 7=2
1089 sort3 7=3
1090
1091 ###################################################
1092 # CCL DIRECTIVES
1093 # Truncation characters (it seems to take multiple arguments)
1094 @truncation ? *
1095 # field specifies how multiple fields are to be combined.
1096 # There are two modes: or: multiple qualifier fields are
1097 # ORed, merge: attributes for the qualifier fields are
1098 # merged and assigned to one term.
1099 @field merge
1100 # case specificies if CCL operatores and qualifiers
1101 # should be compared with case sensitivity or not.
1102 # Specify 0 for case sensitive; 1 for case insensitive.
1103 @case 0
1104 # Tokens for CCL operators (it seems you can assign multiple tokens per operator which is nice)
1105 @and and +
1106 #and +
1107 @or or |
1108 #or |
1109 # make sure - doesn't conflict with another usage of this token
1110 @not not !
1111 #not
1112 @set set
1113 # Not sure if you can specify tokens for prox operators, but here are the defaults
1114 # proximity of a, b - distance n - any order:
1115 # a %n b
1116 # proximity of a, b - distance n - in order:
1117 # a !n b
1118 # Integer n may be omitted - in which case distance is 1.
1119
1120 ###################################################
1121 # Rules for a few bath atts
1122 # For recent changes in this section, see Bugzilla #3735
1123 #keyTitle 1=33
1124 #possessingInstitution 1=1044
1125 name 1=1002
1126 #personalName 1=1
1127 #corporateName 1=2
1128 #conferenceName 1=3
1129 #uniformTitle 1=6
1130 isbn 1=7
1131 issn 1=8
1132 #geographicName 1=58
1133 notes 1=63
1134 #topicalSubject 1=1079
1135 #genreForm 1=1075
1136
1137 ###################################################
1138 # Rules for a few GILS fields
1139 #north  gils-attset,u=2040 r=o
1140 #south  gils-attset,u=2041 r=o
1141 #east  gils-attset,u=2038 r=o
1142 #west  gils-attest,u=2039 r=o
1143 #distributor gils-attset,u=2000 s=pw
1144 #distributorname gils-attset,u=2001 s=pw
1145
1146 ###################################################
1147 # Explain fields
1148 ExplainCategory      exp1,1=1
1149 HumanStringLanguage  exp1,1=2
1150 DatabaseName         exp1,1=3
1151 TargetName           exp1,1=4
1152 AttributeSetOID      exp1,1=5
1153 RecordSyntaxOID      exp1,1=6
1154 TagSetOID            exp1,1=7
1155 ExtededServiceOID    exp1,1=8
1156 DateAdded            exp1,1=9
1157 DateChanged          exp1,1=10
1158 DateExpires          exp1,1=11
1159 ElementSetName       exp1,1=12
1160
1161 Item 1=9520
1162 item Item
1163