[Koha-cvs] koha/zebraplugin/zebradb/authorities/tab bib1.a... [dev_week]

Joshua Ferraro jmf at kados.org
Mon Jul 3 23:58:07 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/07/03 21:58:07

Added files:
	zebraplugin/zebradb/authorities/tab: bib1.att default.idx 
	                                     kohalis record.abs 
	                                     sort-string-utf.chr 
	                                     sort-string-utf.chr.old 
	                                     word-phrase-utf.chr 

Log message:
	adding zebraplugin stuff

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/bib1.att?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/default.idx?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/kohalis?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/record.abs?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/sort-string-utf.chr?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/sort-string-utf.chr.old?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/zebraplugin/zebradb/authorities/tab/word-phrase-utf.chr?cvsroot=koha&only_with_tag=dev_week&rev=1.1.2.1

Patches:
Index: bib1.att
===================================================================
RCS file: bib1.att
diff -N bib1.att
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bib1.att	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1,120 @@
+# $Id: bib1.att,v 1.1.2.1 2006/07/03 21:58:06 kados Exp $
+# Bib-1 Attribute Set
+name bib1
+reference Bib-1
+
+att 1               Personal-name
+att 2               Corporate-name
+att 3               Conference-name
+att 4               Title
+att 5               Title-series
+att 6               Title-uniform
+att 7               ISBN
+att 8               ISSN
+att 9               LC-card-number
+att 10              BNB-card-number
+att 11              BGF-number
+att 12              Local-number
+att 13              Dewey-classification
+att 14              UDC-classification
+att 15              Bliss-classification
+att 16              LC-call-number
+att 17              NLM-call-number
+att 18              NAL-call-number
+att 19              MOS-call-number
+att 20              Local-classification
+att 21              Subject-heading
+att 22              Subject-Rameau
+att 23              BDI-index-subject
+att 24              INSPEC-subject
+att 25              MESH-subject
+att 26              PA-subject
+att 27              LC-subject-heading
+att 28              RVM-subject-heading
+att 29              Local-subject-index
+att 30              Date
+att 31              Date-of-publication
+att 32              Date-of-acquisition
+att 33              Title-key
+att 34              Title-collective
+att 35              Title-parallel
+att 36              Title-cover
+att 37              Title-added-title-page
+att 38              Title-caption
+att 39              Title-running
+att 40              Title-spine
+att 41              Title-other-variant
+att 42              Title-former
+att 43              Title-abbreviated
+att 44              Title-expanded
+att 45              Subject-precis
+att 46              Subject-rswk
+att 47              Subject-subdivision
+att 48              Number-natl-biblio
+att 49              Number-legal-deposit
+att 50              Number-govt-pub
+att 51              Number-music-publisher
+att 52              Number-db
+att 53              Number-local-call
+att 54              Code-language
+att 55              Code-geographic
+att 56              Code-institution
+att 57              Name-and-title
+att 58              Name-geographic
+att 59              Place-publication
+att 60              CODEN
+att 61              Microform-generation
+att 62              Abstract
+att 63              Note
+att 1000            Author-title
+att 1001            Record-type
+att 1002            Name
+att 1003            Author
+att 1004            Author-name-personal
+att 1005            Author-name-corporate
+att 1006            Author-name-conference
+att 1007            Identifier-standard
+att 1008            Subject-LC-childrens
+att 1009            Subject-name-personal
+att 1010            Body-of-text
+att 1011            Date/time-added-to-db
+att 1012            Date/time-last-modified
+att 1013            Authority/format-id
+att 1014            Concept-text
+att 1015            Concept-reference
+att 1016            Any 		1016,4,1005,62
+att 1017            Server-choice
+att 1018            Publisher
+att 1019            Record-source
+att 1020            Editor
+att 1021            Bib-level
+att 1022            Geographic-class
+att 1023            Indexed-by
+att 1024            Map-scale
+att 1025            Music-key
+att 1026            Related-periodical
+att 1027            Report-number
+att 1028            Stock-number
+att 1030            Thematic-number
+att 1031            Material-type
+att 1032            Doc-id
+att 1033            Host-item
+att 1034            Content-type
+att 1035            Anywhere
+att 1036            Author-Title-Subject
+
+# Koha Specific Stuff
+
+att 8900			Call-Number
+att 8800			date-entered-on-file
+att 8801			date1
+att 8802			date2
+att 8805			language
+att 8822			ff8-22
+att 8833			ff8-33
+att 8834			ff8-34
+
+att 8700			ff7-00
+att 8701			ff7-01
+att 8702			ff7-02
+

Index: default.idx
===================================================================
RCS file: default.idx
diff -N default.idx
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ default.idx	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1,56 @@
+# Zebra indexes as referred to from the *.abs-files.
+#  $Id: default.idx,v 1.1.2.1 2006/07/03 21:58:06 kados Exp $
+#
+
+# Traditional word index
+# Used if completenss is 'incomplete field' (@attr 6=1) and
+# structure is word/phrase/word-list/free-form-text/document-text
+index w
+completeness 0
+position 1
+charmap word-phrase-utf.chr
+
+# Phrase index
+# Used if completeness is 'complete {sub}field' (@attr 6=2, @attr 6=1)
+# and structure is word/phrase/word-list/free-form-text/document-text
+index p
+completeness 1
+charmap word-phrase-utf.chr
+
+# URX (URL) index
+# Used if structure=urx (@attr 4=104)
+index u
+completeness 0
+charmap urx.chr
+
+# Numeric index
+# Used if structure=numeric (@attr 4=109)
+index n
+completeness 0
+charmap numeric.chr
+
+# Null map index (no mapping at all)
+# Used if structure=key (@attr 4=3)
+index 0
+completeness 0
+position 1
+charmap @
+
+# Year
+# Used if structure=year (@attr 4=4)
+index y
+completeness 0
+charmap @
+
+# Date
+# Used if structure=date (@attr 4=5)
+index d
+completeness 0
+charmap @
+
+# Sort register
+sort s
+completeness 1
+charmap sort-string-utf.chr
+
+

Index: kohalis
===================================================================
RCS file: kohalis
diff -N kohalis
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ kohalis	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1 @@
+kohaadmin:K0h4R0ck$

Index: record.abs
===================================================================
RCS file: record.abs
diff -N record.abs
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ record.abs	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1,118 @@
+# $Id: record.abs,v 1.1.2.1 2006/07/03 21:58:06 kados Exp $
+
+# 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.
+encoding utf-8
+name marc21
+attset bib1.att
+attset gils.att
+esetname F @
+esetname B @
+
+marc usmarc.mar
+systag sysno rank
+xpath disable
+
+all any
+melm 008		date-entered-on-file:n:range(data,0,6),date-entered-on-file:s:range(data,0,6),date1:n:range(data,7,4),date1:s:range(data,7,4),date2:n:range(data,11,4),date2:s:range(data,11,4),ff8-22:w:range(data,22,1),language:w:range(data,35,3),ff8-33:w:range(data,33,1),ff8-34:w:range(data,34,1)
+
+melm 007		ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1)
+
+melm 082		Dewey-classification:w,Dewey-classification:s
+melm 020$a		ISBN:w
+melm 022$a		ISSN:w,ISBN:w
+melm 050$b		LC-call-number:s
+melm 050		LC-call-number
+melm 942$k		LC-card-number:s
+melm 090$c		Identifier-standard:w
+melm 100$9		Cross-Reference	!:w
+melm 100$a		author,author:p,author:s
+melm 100		author
+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:p,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
+melm 260$b		Publisher		!:w,!:p
+melm 260$c		Date,Date:s,		!:y
+
+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-series		!:w,!:p
+melm 440		Title-series		!:w,!:p
+melm 490$a		Title-series		!:w,!:p
+melm 490		title
+
+melm 505		Note	!:w,!:p
+
+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 690$9		Controlled-Subject-Index	
+melm 690		subject-heading
+
+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 942$c      Material-type
+#melm 942$k		Call-Number
+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,Date-of-acquisition:d,Date-of-acquisition:s
+melm 952		Local-classification

Index: sort-string-utf.chr
===================================================================
RCS file: sort-string-utf.chr
diff -N sort-string-utf.chr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sort-string-utf.chr	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1,48 @@
+# Generic character map.
+#
+# $Id: sort-string-utf.chr,v 1.1.2.1 2006/07/03 21:58:06 kados Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ		e
+#map á		a
+#map ó		o
+#map í		i
+
+#map (Aa)	(AA)
+
+#map (aa)        a
+map (^The\s)    @
+map (^the\s)    @
+map (^a\s)      @
+map (^A\s)      @
+map (^An\s)     @
+map (^an\s)     @
+

Index: sort-string-utf.chr.old
===================================================================
RCS file: sort-string-utf.chr.old
diff -N sort-string-utf.chr.old
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sort-string-utf.chr.old	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1,33 @@
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+encoding utf-8
+lowercase {0-9}aâbcçdefgğhıiîjklmnoöpqrsştuüvwxyz
+uppercase {0-9}AÂBCÇDEFGĞHIİÎJKLMNOÖPQRSŞTUÜVWXYZ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&\(),-/:;<=>?@\[\\]_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+equivalent uü
+equivalent oö
+equivalent sÅŸ
+equivalent cç
+equivalent iı
+equivalent gÄŸ
+equivalent GÄž
+equivalent SÅž
+equivalent CÇ
+equivalent OÖ
+equivalent UÜ
+equivalent aâ
+equivalent AÂ
+ # Supplemental mappings
+
+map (^The\s)	@
+map (^the\s)	@
+map (^a\s)      @
+map (^A\s)	@
+map (^An\s)	@
+map (^an\s)	@

Index: word-phrase-utf.chr
===================================================================
RCS file: word-phrase-utf.chr
diff -N word-phrase-utf.chr
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ word-phrase-utf.chr	3 Jul 2006 21:58:06 -0000	1.1.2.1
@@ -0,0 +1,41 @@
+# Generic character map.
+#
+# $Id: word-phrase-utf.chr,v 1.1.2.1 2006/07/03 21:58:06 kados Exp $
+
+# Define the basic value-set. *Beware* of changing this without re-indexing
+# your databases.
+lowercase {0-9}{a-y}üzæäøöå
+uppercase {0-9}{A-Y}ÜZÆÄØÖÅ
+
+# Breaking characters
+
+space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~
+
+# Characters to be considered equivalent for searching purposes.
+
+# equivalent æä(ae)
+# equivalent øö(oe)
+# equivalent å(aa)
+# equivalent uü
+
+# Supplemental mappings
+
+#map (&auml;)       ä
+#map (&aelig;)      æ
+#map (&oslash;)     ø
+#map (&aring;)      å
+#map (&ouml;)       ö
+#map (&Auml;)       Ä
+#map (&Aelig;)      Æ
+#map (&Oslash;)     Ø
+#map (&Aring;)      Å
+#map (&Ouml;)       Ö
+
+#map éÉ		e
+#map á		a
+#map ó		o
+#map í		i
+
+#map (Aa)	(AA)
+
+#map (aa)        a





More information about the Koha-cvs mailing list