Bug 5528: Analytic records support
[koha.git] / etc / zebradb / marc_defs / unimarc / biblios / record.abs
1 # indexing rules. It
2 # results in a server which provides a passable Bath level 0 and 1 service
3 ############################################################################
4 # IMPORTANT : this file MUST be renamed record.abs : this name is "hardcoded" in zebra
5 # the default record.abs is designed for MARC21.
6 ############################################################################
7 # NOTE: This is designed to be used with the grs.marcxml input filter
8 # for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
9 # won't work for the old grs.marc input filter, which yields a different
10 # internal structure.
11
12 encoding utf-8
13 name marc21
14 attset bib1.att
15 attset gils.att
16 esetname F @
17 esetname B @
18
19 marc usmarc.mar
20 systag sysno rank
21 xpath disable
22
23 all any
24 melm 001        Local-number,Local-number:n
25 # Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
26 melm 009      Identifier-standard:w,Identifier-standard:n
27 melm 090$9      Local-number,Local-number:n
28 melm 099$c      date-entered-on-file:s,date-entered-on-file:n,date-entered-on-file:y,Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
29 melm 099$d      Date/time-last-modified:s,Date/time-last-modified:n,Date/time-last-modified:y
30 melm 099$t      ccode:w
31
32
33 melm 010$a    ISBN:w
34 # wrong ISBN
35 melm 010$z    ISBN:w,Identifier-standard:w
36 melm 011$a    ISSN:w,Identifier-standard:w
37 # cancelled ISSN
38 melm 011$y    ISSN:w,Identifier-standard:w
39 # wrong ISSN
40 melm 011$z    ISSN:w,Identifier-standard:w
41
42 melm 200$b      itemtype:w,itemtype:p,itype:w,itype:p
43 melm 995$r      itemtype:w,itemtype:p,itype:w,itype:p
44 melm 071$a          Music-number:w,Identifier-standard:w
45 melm 072$a      UPC:w,Identifier-standard:w
46 melm 073$a          EAN:w,Identifier-standard:w
47
48 melm 100$a      tpubdate:s:range(data,8,1),ta:w:range(data,17,1),ta:w:range(data,18,1),ta:w:range(data,19,1),Modified-code:n:range(data,21,1),ln:s:range(data,22,3),char-encoding:n:range(data,26,2),char-encoding:n:range(data,28,2),char-encoding:n:range(data,30,2),script-Title:n:range(data,34,2)
49 melm 101$a     ln
50 melm 102$a     Country-heading
51
52 #Field 105 Description
53 #Illustration codes 4
54 #Form of contents codes 4
55 #Conference or meeting code 1
56 #Festschrift indicator 1
57 #Index indicator 1
58 #Literature code 1
59 #Biography code   1
60 melm 105$a     Illustration-code:w:range(data,0,4),Content-type:w:range(data,4,1),Content-type:w:range(data,5,1),Content-type:w:range(data,6,1),Content-type:w:range(data,7,1),Conference-code:w:range(data,8,1),Festschrift-indicator:w:range(data,9,1),Index-indicator:w:range(data,10,1),Literature-Code:w:range(data,11,1),Biography-Code:w:range(data,12,1)
61
62 melm 106$a     itype:w,itype:p
63
64 #Field 110 Description
65 #Name of Data Element                  Number of characters                 Character Positions
66 #Type of serial designator              1                                   0
67 #Frequency of issue                     1                                   1
68 #Regularity                             1                                   2
69 #Type of material code                  1                                   3
70 #Nature of contents code                3                                   4-6
71 #Conference publication indicator       1                                   7
72 #Title page availability codes          1                                   8
73 #Index availability code                1                                   9
74 #Cumulative index availability code   1                                   10
75 melm 110$a     Type-Of-Serial:w:range(data,0,1),Frequency-code:w:range(data,1,1),Regularity-code:w:range(data,2,1),Content-type:w:range(data,3,1),Content-type:w:range(data,4,3),Conference-publication-Code:w:range(data,7,1),Title-Page-availability-Code:w:range(data,8,1),Index-availability-Code:w:range(data,9,1),Cumulative-Index-availability-Code:w:range(data,10,1)
76
77 melm 115$a     Video-mt:w:range(data,0,1)
78
79 melm 116$a     Graphics-type:w:range(data,0,1),Graphics-support:w:range(data,1,1),Graphics-support:w:range(data,2,1),
80
81
82 melm 680$b              LC-call-number:s
83 melm 680                LC-call-number
84 #melm 001               Identifier-standard:w
85
86 melm 200$b      itype:w,itype:p
87
88 #melm 100$9             Cross-Reference !:w
89
90 ############ AUTHORS ##################
91 # main Author
92 melm 200$f              Author:w,Author:p
93 # other Authors
94 melm 200$g              Author:w,Author:p
95 # physical Author
96 melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
97 melm 700$a      Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s
98 melm 700        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
99 melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
100 melm 701        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
101 melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
102 melm 702        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
103
104 # collective Author
105 melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
106 melm 710    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
107 melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
108 melm 711    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
109
110 melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
111 melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
112
113 ############## TITLE ##################
114 # main Title
115 melm 200$a              Title:w,Title:p,Title:s,Title-cover:w,Title-cover:p,Title-cover:s
116 # Title 2
117 melm 200$c              Title:w,Title:p
118 # // Title
119 melm 200$d              Title:w,Title:p
120 # subTitle
121 melm 200$e              Title:w,Title:p,Title-cover:w,Title-cover:p
122 # part title
123 melm 200$i              title:w,title:p,Title-cover:w,Title-cover:p
124
125 melm 205        Title,Title:p
126
127 melm 208    Serials,Serials:p
128 melm 207    Printed-music,Printed-music:p
129
130
131
132 melm 210$a    pl,pl:p
133 melm 210$c    Publisher,Publisher:p
134 melm 210$d    pubdate:n,pubdate:y,pubdate:s
135
136 melm 215        Extent
137
138 #Series
139 melm 225$a      Title-series,Title-series:p
140 melm 225$d      Title-series,Title-series:p
141 #SubTitle
142 melm 225$e      Title-series,Title-series:p 
143 #Authors
144 melm 225$f      Author,Author:p,Name-and-title,Name-and-title:p
145 #Part-Title
146 melm 225$h      Title-series,Title-series:p 
147 #Part Number
148 melm 225$i      Title-series,Title-series:p 
149 #Volume
150 melm 225$v      Title-series,Title-series:p 
151 melm 225$x      ISSN
152
153 melm 230$a      Electronic-ressource
154
155 ########## NOTES #################
156 melm 300$a    Note,Note:p
157 melm 301$a    Note,Note:p
158 melm 302$a    Note,Note:p
159 melm 303$a    Note,Note:p
160 melm 304$a    Note,Note:p
161 melm 305$a    Note,Note:p
162 melm 306$a    Note,Note:p
163 melm 307$a    Note,Note:p
164 melm 308      Note,Note:p
165 melm 308$a    Note,Note:p
166 melm 310$a    Note,Note:p
167 melm 311$a    Note,Note:p
168 melm 312$a    Note,Note:p
169 melm 313$a    Note,Note:p
170 melm 314$a    Note,Note:p
171 melm 315$a    Note,Note:p
172 melm 316$a    Note,Note:p
173 melm 317$a    Note,Note:p
174 melm 318$a    Note,Note:p
175 melm 320$a    Note,Note:p
176 melm 321$a    Note,Note:p
177 melm 322$a    Note,Note:p
178 melm 323$a    Note,Note:p
179 melm 324$a    Note,Note:p
180 melm 325$a    Note,Note:p
181 melm 326$a    Note,Note:p
182 melm 327$a    Note,Note:p
183 melm 328      Note,Note:p
184 melm 328$a    Note,Note:p
185 melm 330$a    Abstract,Note:w,Abstract:p,Note:p
186 melm 332$a    Note,Note:p
187 melm 333$a    Note,Note:p
188 melm 336$a    Note,Note:p
189 melm 337$a    Note,Note:p
190 melm 345$a    Note,Note:p
191
192
193 ############## 4XX - LINKING ##################
194 # Authorities Title,Title:p
195 melm 400$t    Title,Title:p
196 melm 401$t    Title,Title:p
197 melm 403$t    Title,Title:p,Title-Uniform,Title-Uniform:p
198 melm 410$t    Title-series,Title-series:p
199 melm 412$t    Title,Title:p
200 melm 413$t    Title,Title:p
201 melm 414$t    Title,Title:p
202 melm 415$t    Title,Title:p
203 melm 416$t    Title,Title:p
204 melm 417$t    Title,Title:p
205 melm 418$t    Title,Title:p
206 melm 419$t    Title,Title:p
207 melm 420$t    Title,Title:p
208 melm 430$t    Title,Title:p
209 melm 431$t    Title,Title:p
210 melm 432$t    Title,Title:p
211 melm 440$t    Title,Title:p
212 melm 441$t    Title,Title:p
213 melm 445$t    Title,Title:p
214 melm 461$t    Title,Title-host:w,title-host:p
215 melm 464$t    Title,Title-host:w,title-host:p,Title:p
216
217 melm 400$d    pubdate:n
218 melm 401$d    pubdate:n
219 melm 403$d    pubdate:n
220 melm 410$d    pubdate:n
221 melm 412$d    pubdate:n
222 melm 413$d    pubdate:n
223 melm 414$d    pubdate:n
224 melm 415$d    pubdate:n
225 melm 416$d    pubdate:n
226 melm 417$d    pubdate:n
227 melm 418$d    pubdate:n
228 melm 419$d    pubdate:n
229 melm 420$d    pubdate:n
230 melm 430$d    pubdate:n
231 melm 431$d    pubdate:n
232 melm 432$d    pubdate:n
233 melm 440$d    pubdate:n
234 melm 441$d    pubdate:n
235 melm 445$d    pubdate:n
236 melm 461$d    pubdate:n
237
238 #Linking ids
239 melm 461$9    Host-Item-Number
240
241 # Authorities Title
242 melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
243 melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
244 melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
245 melm 510$9    Koha-Auth-Number,Koha-Auth-Number:n
246 melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n
247 melm 513$9    Koha-Auth-Number,Koha-Auth-Number:n
248 melm 514$9    Koha-Auth-Number,Koha-Auth-Number:n
249 melm 515$9    Koha-Auth-Number,Koha-Auth-Number:n
250 melm 516$9    Koha-Auth-Number,Koha-Auth-Number:n
251 melm 517$9    Koha-Auth-Number,Koha-Auth-Number:n
252 melm 518$9    Koha-Auth-Number,Koha-Auth-Number:n
253 melm 519$9    Koha-Auth-Number,Koha-Auth-Number:n
254 melm 520$9    Koha-Auth-Number,Koha-Auth-Number:n
255 melm 530$9    Koha-Auth-Number,Koha-Auth-Number:n
256 melm 531$9    Koha-Auth-Number,Koha-Auth-Number:n
257 melm 532$9    Koha-Auth-Number,Koha-Auth-Number:n
258 melm 540$9    Koha-Auth-Number,Koha-Auth-Number:n
259 melm 541$9    Koha-Auth-Number,Koha-Auth-Number:n
260 melm 545$9    Koha-Auth-Number,Koha-Auth-Number:n
261
262 melm 500                Title,Title:p
263 melm 501                Title,Title:p
264 melm 503                Title,Title:p
265 melm 510                Title,Title:p
266 melm 512                Title,Title:p
267 melm 513                Title,Title:p
268 melm 514                Title,Title:p
269 melm 515                Title,Title:p
270 melm 516                Title,Title:p
271 melm 517                Title,Title:p
272 melm 518                Title,Title:p
273 melm 519                Title,Title:p
274 melm 520                Title,Title:p
275 melm 530                Title,Title:p
276 melm 531                Title,Title:p
277 melm 532                Title,Title:p
278 melm 540                Title,Title:p
279 melm 541                Title,Title:p
280 melm 545                Title,Title:p
281
282 ########### SUBJECTS (6xx) ##################
283 melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
284 melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
285 melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
286 melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n
287 melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
288 melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
289 melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
290 melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n
291 melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
292 melm 630$9      Koha-Auth-Number,Koha-Auth-Number:n
293 melm 631$9      Koha-Auth-Number,Koha-Auth-Number:n
294 melm 632$9      Koha-Auth-Number,Koha-Auth-Number:n
295 melm 633$9      Koha-Auth-Number,Koha-Auth-Number:n
296 melm 634$9      Koha-Auth-Number,Koha-Auth-Number:n
297 melm 635$9      Koha-Auth-Number,Koha-Auth-Number:n
298 melm 636$9      Koha-Auth-Number,Koha-Auth-Number:n
299
300 melm 600$a              Personal-name,Personal-name:p,Subject,Subject:p
301 melm 600                Subject,Subject:p
302 melm 601$a              Corporate-name,Conference-name,Corporate-name:p,Conference-name:p
303 melm 601                Subject,Subject:p
304 melm 602$a    Personal-name,Personal-name:p
305 melm 602    Subject,Subject:p
306 melm 604                Subject,Subject:p
307 melm 605                Subject,Subject:p
308 melm 606                Subject,Subject:p
309 melm 607        Subject,Subject:p
310 melm 630                Subject,Subject:p
311 melm 631                Subject,Subject:p
312 melm 632                Subject,Subject:p
313 melm 633                Subject,Subject:p
314 melm 634                Subject,Subject:p
315 melm 635                Subject,Subject:p
316 melm 636                Subject,Subject:p
317 melm 610                Subject,Subject:p
318 melm 640        Subject,Subject:p
319 melm 641        Subject,Subject:p
320 melm 642        Subject,Subject:p
321 melm 643        Subject,Subject:p
322 melm 644        Subject,Subject:p
323 melm 645        Subject,Subject:p
324 melm 646        Subject,Subject:p
325
326 ######################
327
328 melm 676$a              Dewey-classification:w,Dewey-classification:s
329
330 #############"# item information (based on 995) ###############
331 melm 995$2              lost,lost:n,item
332 melm 995$a              homebranch,Host-item,item
333 melm 995$b              homebranch,Host-item,item
334 melm 995$c              holdingbranch,Record-Source,item
335 melm 995$d              holdingbranch,Record-Source,item
336 melm 995$e      location,item
337 melm 995$f              barcode,item
338 melm 995$h              ccode,item
339 melm 995$j      LC-card-number:s,item
340 melm 995$k      Call-Number,Local-classification,lcn,Call-Number:p,Local-classification:p,lcn:p,item,Local-classification:s
341 melm 995$n      onloan:d,onloan:n,onloan:s,onloan:w,item
342 melm 995$u      Note,Note:p,item
343 melm  995       item   # just to index every subfield
344
345 ### biblioitems information (based on 942) ######
346 melm 942$0      totalissues:n,totalissues:s
347 ### 942 local info - may want to use this if you're using the English UNIMARC frameworks
348 ###melm 942$0      popularity:n,popularity:s,item