[Koha-cvs] koha/misc/zebra/usmarc collection.abs

Joshua Ferraro jmf at kados.org
Tue Mar 21 04:48:38 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/03/21 03:48:38

Modified files:
	misc/zebra/usmarc: collection.abs 

Log message:
	improved collection.abs with support for sorting.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/misc/zebra/usmarc/collection.abs.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: koha/misc/zebra/usmarc/collection.abs
diff -u koha/misc/zebra/usmarc/collection.abs:1.5 koha/misc/zebra/usmarc/collection.abs:1.6
--- koha/misc/zebra/usmarc/collection.abs:1.5	Mon Mar 13 23:17:26 2006
+++ koha/misc/zebra/usmarc/collection.abs	Tue Mar 21 03:48:38 2006
@@ -1,96 +1,104 @@
-# $Id: collection.abs,v 1.5 2006/03/13 23:17:26 rangi Exp $
+# $Id: collection.abs,v 1.6 2006/03/21 03:48:38 kados Exp $
 
-# complete UNIMARC indexing rules for Bath level 0 and 1 service
-# (author, title, subject, keyword and exact services).
-# inspired by marc21.abs, from indexdata
-# Feel free to
+# This is a fairly simple example of a set of MARC21 indexing rules. It
+# results in a server which provides a passable Bath level 0 and 1 service
+# (author, title, subject, keyword and exact services). Feel free to
 # elaborate on it, and if you do, please consider sharing your additions.
 # NOTE: This is designed to be used with the grs.marcxml input filter
 # for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
 # won't work for the old grs.marc input filter, which yields a different
 # internal structure.
-
-name collection
+encoding utf-8
+name marc21
 attset bib1.att
-
+attset gils.att
 esetname F @
 esetname B @
 
 marc usmarc.mar
-xpath enable
 
-all any
+xpath disable
 
+all any
 melm 090$c		identifier-standard,identifier-standard:p
-melm 020$a		isbn:w,!:s
-melm 100                author,author:p,!:s
-melm 110                author
-melm 111                author
-melm 130                title
-melm 240                title,title:p
-melm 242                title,title:p
-melm 243                title,title:p
-melm 245$c              author
-melm 245                title,title:p
-melm 245/?/a            title           !:w,!:p,!:s
-melm 246                title,title:p
-melm 247                title,title:p
-melm 400$t              title,author
-melm 400                author
-melm 410$t              title,author
-melm 410                author
-melm 411$t              title,author
-melm 411                author
-melm 440$a              title,title:p
-melm 440                title
-melm 490$a              title,title:p
-melm 490                title
-melm 600$t              title
-melm 600                subject-heading,subject-heading:p
-melm 610$t              title
-melm 610                subject-heading
-melm 611$t              title
-melm 611                subject-heading
-melm 630                subject-heading
-melm 650                subject-heading,subject-heading:p
-melm 651                subject-heading,subject-heading:p
-melm 653                subject-heading,subject-heading:p
-melm 654                subject-heading
-melm 655                subject-heading
-melm 656                subject-heading
-melm 657                subject-heading
-melm 700$t              title,author
-melm 700$a              author,author:p
-melm 700                author
-melm 710$t              title,author
-melm 710$a              author,author:p
-melm 710                author
-melm 711$t              title,author
-melm 711                author
-melm 730                title
-melm 740                title
-melm 800$t              title,author
-melm 800                author
-melm 810$t              title,author
-melm 810                author
-melm 811$t              title,author
-melm 811                author
-melm 830                title
-melm 942$c		material-type
-melm 952$p		doc-id
-#elm 090            Identifier-standard            -
-#elm 090/?          Identifier-standard            -
-#elm 090/?/a        Identifier-standard            !:w
-
-
-
-
-
-
-
-
-
-
-
-
-
+melm 020$a		ISBN:w,ISBN:s
+melm 022$a		ISSN:w,ISBN:w
+melm 050		LC-call-number,LC-call-number:s
+melm 082		dewey:w,dewey:s
+melm 090$c		Local-number:w
+melm 100$9		Cross-Reference	!:w
+melm 100		author,author:p,author:s
+melm 110		author
+melm 111		author
+melm 130		title
+melm 240		title,title:p
+melm 242		title,title:p
+melm 243		title,title:p
+melm 245$a		title:w,title:s
+melm 245$c		author
+melm 245		title,title:p
+melm 246		title,title:p
+melm 247		title,title:p
+melm 260$a		Place-publication !:w,!:p
+elm 260$b		Publisher !:w,!:p,!:s
+elm 260$c		Date !:y,!:s
+melm 260		Place-publication	
+melm 400$t		title,author
+melm 400		author
+melm 410$t		title,author
+melm 410		author
+melm 411$t		title,author
+melm 411		author
+melm 440$a		title,title:p
+melm 440		title
+melm 490$a		title,title:p
+melm 490		title
+melm 600$t		title
+melm 600		subject-heading,subject-heading:p
+melm 610$t		title
+melm 610		subject-heading
+melm 611$t		title
+melm 611		subject-heading
+melm 630		subject-heading
+melm 650$9		Controlled-Subject-Index	
+melm 650		subject-heading,subject-heading:p
+melm 651$9		Controlled-Subject-Index	
+melm 651		subject-heading,subject-heading:p
+melm 652$9		Controlled-Subject-Index	
+melm 652		subject-heading,subject-heading:p
+melm 653$9		Controlled-Subject-Index	
+melm 653		subject-heading,subject-heading:p
+melm 654$9		Controlled-Subject-Index	
+melm 654		subject-heading
+melm 655$9		Controlled-Subject-Index	
+melm 655		subject-heading
+melm 656$9		Controlled-Subject-Index	
+melm 656		subject-heading
+melm 657$9		Controlled-Subject-Index	
+melm 657		subject-heading
+melm 650$9		Controlled-Subject-Index	
+
+melm 700$9		Cross-Reference
+melm 700$t		title,author
+melm 700$a		author,author:p
+melm 700		author
+melm 710$t		title,author
+melm 710$a		author,author:p
+melm 710		author
+melm 711$t		title,author
+melm 711		author
+melm 730		title
+melm 740		title
+melm 800$t		title,author
+melm 800		author
+melm 810$t		title,author
+melm 810		author
+melm 811$t		title,author
+melm 811		author
+melm 830		title
+melm 952$a		Local-classification
+melm 952$b		Record-source
+melm 952$d		Host-item
+melm 952$p		Stock-number
+melm 952$v		Date-of-acquisition:d, Date-of-acquisition:s
+melm 952		Local-classification





More information about the Koha-cvs mailing list