fixing limit by availability, using nifty _ALLRECORDS in Zebra
[koha.git] / etc / zebradb / biblios / etc / record.abs
1 # This is a fairly simple example of a set of MARC21 indexing rules. It
2 # results in a server which provides a passable Bath level 0 and 1 service
3 # (author, title, subject, keyword and exact services). Feel free to
4 # elaborate on it, and if you do, please consider sharing your additions.
5 # NOTE: This is designed to be used with the grs.marcxml input filter
6 # for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
7 # won't work for the old grs.marc input filter, which yields a different
8 # internal structure.
9 encoding utf-8
10 name marc21
11 attset bib1.att
12 attset gils.att
13 esetname F @
14 esetname B @
15
16 marc usmarc.mar
17 systag sysno rank
18 xpath enable
19
20 # pl = Published Place
21 # ta = Target Audience 002/22
22 # ff8-23
23 # lf = Literary Form 008/33
24 # bio = Biography 008/34
25 # fmt = Format
26 # ln = Language
27 # ctype = Content type: review, catalog, encyclopedia, dictionary
28 # pubdate Publication Date
29 # rtype =  Record type (leader 06)
30
31 all any
32 # melm 000              rtype:n:range(data,06,1),Bib-level:w:range(data,07,01)
33 xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)
34 # example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
35
36 melm 001                Control-number
37 melm 005                Date,Date/time-last-modified
38 melm 007                Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
39
40 melm 008                ln:n:range(data,35,3),ctype:w:range(data,24,4),Date:n:range(data,0,5),Date:s:range(data,0,5),Date:n:range(data,7,4),Date:s:range(data,7,4),Date:n:range(data,11,4),Date:s:range(data,11,4),pubdate:n:range(data,7,4),pubdate:s:range(data,7,4),dateaddeddb:n:range(data,0,5),dateaddeddb:s:range(data,0,5),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),Record-source:w:range(data,39,0)
41
42 melm 010                LC-card-number,Identifier-standard
43 melm 011                LC-card-number,Identifier-standard
44 melm 015                BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
45 melm 017                Number-legal-deposit,Identifier-standard
46 melm 018                Identifier-standard
47 melm 020$a      ISBN:w,Identifier-standard:w
48 melm 020                ISBN,Identifier-standard
49 melm 022$a      ISSN:w,ISBN:w
50 melm 022                ISSN,Identifier-standard
51 melm 023                Identifier-standard
52 melm 024                Identifier-standard
53 melm 025                Identifier-standard
54 melm 027                Report-number,Identifier-standard
55 melm 028                Number-music-publisher,Identifier-standard
56 melm 030                CODEN,Identifier-standard
57 melm 033                Date
58 melm 034        Map-scale
59 #melm 035               Local-number,Identifier-standard
60 melm 037                Identifier-standard,Stock-number
61 melm 040        Code-institution,Record-source
62 melm 041        ln
63 melm 043        Code-geographic
64 #melm 046               pubdate
65 melm 050$b              LC-call-number:w, LC-call-number:p, LC-call-number:s
66 melm 050                LC-call-number:w, LC-call-number:p, LC-call-number:s
67 melm 052                Geographic-class
68 melm 060                NLM-call-number
69 melm 070                NAL-call-number
70 melm 080                UDC-classification
71 melm 082        Dewey-classification:w,Dewey-classification:s
72 melm 086        Number-govt-pub
73 #melm 942$k             LC-card-number:s
74
75 ## KOHA SPECIFIC
76 #melm 090$c             Local-number:w
77 #Identifier-standard:w
78
79 melm 100$9              Cross-Reference:w,Koha-Auth-Number
80 melm 100$a              Author,Author:p,Author:s,Editor,Author-personal-bibliography,Author-personal-bibliography:p,Author-personal-bibliography:s
81 melm 100                Author,Author-title,Author-name-personal,Name,Name-and-title,Personal-name
82 melm 110$9      Koha-Auth-Number
83 melm 110                Author,Author-title,Author-name-corporate,Name,Name-and-title,Corporate-name
84 melm 111$9      Koha-Auth-Number
85 melm 111                Author,Author-title,Author-name-corporate,Name,Name-and-title,Conference-name
86 melm 130$n              Thematic-number
87 melm 130$r              Music-key
88 melm 130$9      Koha-Auth-Number
89 melm 130                Title,Title-uniform
90
91 melm 210                Title,Title-abbreviated
92 melm 211                Title,Title-abbreviated
93 melm 212                Title,Title-other-variant
94 melm 214                Title,Title-expanded
95 melm 222                Title,Title-key
96 melm 240$r              Music-key
97 melm 240$n              Thematic-number
98 melm 240                Title:w,Title:p,Title-uniform
99 melm 243$n              Thematic-number
100 melm 243$r              Music-key
101 melm 243                Title:w,Title:p,Title-collective
102 melm 245$a              Title-cover:w,Title-cover:p,Title-cover:s,Title:w,Title:p,Title:s
103 melm 245$c              Author,Author-in-order:w,Author-in-order:p,Author-in-order:s
104 melm 245$9              Cross-Reference:w,Koha-Auth-Number
105 melm 245                Title:w,Title:p
106 melm 246                Title,Title:p,Title-abbreviated,Title-expanded,Title-former
107 melm 247                Title,Title:p,Title-former,Title-other-variant,Related-periodical
108 melm 260$a              pl:w,pl:p
109 melm 260$b              Publisher:w,Publisher:p
110 melm 260$c              Date,Date:s,Date:y
111 #,pubdate,pubdate:s
112 melm 260                pl
113 melm 300                Extent:w,Extent:p
114 melm 400$a              Name-and-title
115 melm 400$t      Author-title,Name-and-title,Title,Title-series
116 melm 400$9              Koha-Auth-Number
117 melm 400        Author,Author-name-personal,Name,Personal-name
118 melm 410                Author,Corporate-name
119 melm 410$a              Name-and-title
120 melm 410$t      Author-title,Title,Title-series
121 melm 410$9              Koha-Auth-Number
122 melm 410        Author-name-corporate,Name
123 melm 411                Author,Conference-name
124 melm 411$a              Name-and-title
125 #melm 411$t             title,author,Author-title,Title-series
126 melm 411$t      Author-title,Title-series
127 #melm 411               author,Author-name-corporate,Name
128 melm 411        Author-name-corporate,Name
129 melm 440$a              Title-series:w,Title-series:p
130 melm 440$9              Koha-Auth-Number
131 melm 440                Title-series:w,Title-series:p,Title,Title-series
132 melm 490$a              Title-series:w,Title-series:p
133 melm 490                Title,Title-series
134 melm 490$9              Koha-Auth-Number
135
136 melm 502                Material-type
137 melm 505                Note:w,Note:p
138 melm 510                Indexed-by
139 melm 520                Abstract:w,Abstract:p
140 #melm 533$d             pubdate,pubdate:s
141 #melm 541$d             Date-of-acquisition,Date-of-acquisition:s
142
143 melm 600$a              Name-and-title,Name,Personal-name,Subject-name-personal,Subject
144 melm 600$t              Name-and-title,Title,Subject
145 melm 600$9      Koha-Auth-Number
146 #melm 600               Name,Personal-name,Subject-heading,Subject-name-personal
147 melm 600        Name,Personal-name,Subject-name-personal,Subject
148 melm 610$a              Name-and-title
149 melm 610$t              Name-and-title,Title
150 melm 610$9      Koha-Auth-Number
151 melm 610                Name,Subject,Corporate-name
152 melm 611                Conference-name
153 melm 611$a              Name-and-title
154 melm 611$t              Name-and-title,Title
155 melm 611$9      Koha-Auth-Number
156 melm 611                Name,Subject
157 melm 630$n              Thematic-number
158 melm 630$r              Music-key
159 melm 630$9      Koha-Auth-Number
160 melm 630                Subject
161 melm 650$9              Koha-Auth-Number        
162 melm 650                Subject,Subject:p
163 melm 651$9              Koha-Auth-Number        
164 melm 651                Name-geographic,Subject,Subject:p
165 melm 652$9              Koha-Auth-Number        
166 #melm 652               subject-heading,subject-heading:p
167 melm 653$9              Koha-Auth-Number        
168 melm 653                Subject,Subject:p
169 melm 654$9              Koha-Auth-Number        
170 melm 654                Subject
171 melm 655$9              Koha-Auth-Number        
172 melm 655                Subject
173 melm 656$9              Koha-Auth-Number        
174 melm 656                Subject
175 melm 657$9              Koha-Auth-Number        
176 melm 657                Subject
177 melm 690$9              Koha-Auth-Number        
178 melm 690                Subject,Subject:p
179
180 melm 700$9              Cross-Reference,Koha-Auth-Number
181 melm 700$a      Author,Author:p
182 melm 700$n              Thematic-number
183 melm 700$r              Music-key
184 #melm 700$t             author,Author-title,Name-and-title,Title,Title-uniform
185 melm 700$t      Author-title,Name-and-title,Title,Title-uniform
186 melm 700        Author,Author-name-corporate,Author-name-personal,Name,Editor,Personal-name
187 melm 710                Author,Corporate-name
188 #melm 710$t             author,Author-title,Name-and-title,Title,Title-uniform
189 melm 710$t      Author-title,Name-and-title,Title,Title-uniform
190 #melm 710$a             author,author:p,Name-and-title
191 melm 710$a      Name-and-title
192 melm 710$9              Koha-Auth-Number        
193 #melm 710               author,Name
194 melm 710        Author,Name
195 melm 711$a              Name-and-title
196 #melm 711$t             author,Author-title,Title,Title-uniform
197 melm 711$t      Author-title,Title,Title-uniform
198 melm 711$9              Koha-Auth-Number        
199 #melm 711               author,Author-name-corporate,Name,Conference-name
200 melm 711        Author-name-corporate,Name,Conference-name
201 melm 730$n              Thematic-number
202 melm 730$r              Music-key
203 melm 730$9              Koha-Auth-Number
204 melm 730                Title,Title-uniform
205 melm 740                Title,Title-other-variant
206 melm 773$t              Host-item
207 melm 780                Title-former,Related-periodical
208 melm 785                Related-periodical
209
210 melm 800$a              Name-and-title
211 #melm 800$t             author,Author-title,Name-and-title,Title,Title-series
212 melm 800$t      Author-title,Name-and-title,Title,Title-series
213 melm 800$9              Koha-Auth-Number
214 melm 800        Author,Author-name-personal,Name,Personal-name
215 melm 810$a              Name-and-title
216 melm 810$t      Author-title,Name-and-title,Title,Title-series
217 melm 810$9              Koha-Auth-Number
218 melm 810        Author,Corporate-name,Author-name-corporate,Name
219 melm 811$a              Name-and-title
220 melm 811$9              Koha-Auth-Number
221 #melm 811$t             author,Author-title,Name-and-title,Title,Title-series
222 melm 811$t      Author-title,Name-and-title,Title,Title-series
223 melm 811                Author,Author-name-corporate,Name,Conference-name
224 melm 830$9              Koha-Auth-Number
225 melm 830                Title,Title-series
226 melm 840                Title,Title-series
227
228 ###############################
229 # Koha Local-Use Biblio Indexes
230 melm 999$c              Local-Number:n,Local-Number:w,Local-Number:s
231 melm 999$d              biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s
232 melm 942$0              totalissues:n,totalissues:s
233 melm 942$2              cn-bib-source
234 melm 942$6              cn-bib-sort:n,cn-bib-sort:s
235 melm 942$c              itemtype:w
236
237 # need to check bib1
238 melm 942$h              cn-class
239 melm 942$i              cn-item
240 melm 942$k              cn-prefix
241 melm 942$m              cn-suffix
242
243 # Items Indexes
244 melm 952$0              withdrawn:n,withdrawn:w
245 melm 952$1              lost,lost:n
246 melm 952$2              classification-source
247 melm 952$3              materials-specified     
248 melm 952$4              damaged:n,damaged:w
249 melm 952$5              restricted:n,restricted:w
250 melm 952$6              cn-sort:n,cn-sort:s
251 melm 952$7              notforloan:n,notforloan:w
252 melm 952$8              ccode
253 melm 952$9              itemnumber:n,itemnumber:s
254 melm 952$a              homebranch
255 melm 952$b              holdingbranch
256 melm 952$c              location
257
258 #dateaccessioned
259 melm 952$d              Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
260 melm 952$e              acqsource
261 melm 952$f              coded-location-qualifier
262 melm 952$g              price
263 #melm 952$h             
264 #melm 952$i             
265 melm 952$j              stack:n,stack:w
266 #melm 952$k             
267 melm 952$l              issues:n,issues:w,issues:s
268 melm 952$m              renewals:n,renewals:w
269 melm 952$n              reserves:n,reserves:w
270 melm 952$o              Local-classification:w,Local-classification:p,Local-classification:s
271 melm 952$p              barcode,barcode:n
272 melm 952$q              onloan:n,onloan:w
273 melm 952$r              datelastseen
274 melm 952$s              datelastborrowed
275 melm 952$t              copynumber
276 melm 952$u              uri:u,url:w
277 melm 952$v              replacementprice
278 melm 952$w              replacementpricedate
279 #melm 952$x
280 melm 952$y              itype:w
281 #melm 952$z