From 86438403bdef2ced960a8e1d246101470fc44b1d Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 27 Jun 2005 13:13:17 +0000 Subject: [PATCH] some parameter files for zebra for UNIMARC. Just for testing & sharing purposes for instance. --- misc/zebra/unimarc/explain.att | 27 +++++++++++++++++++++++++++ misc/zebra/unimarc/unimarc.abs | 29 +++++++++++++++++++++++++++++ misc/zebra/unimarc/unimarc.mar | 2 ++ misc/zebra/unimarc/unimarc.tag | 16 ++++++++++++++++ misc/zebra/unimarc/zebra.cfg | 25 +++++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 misc/zebra/unimarc/explain.att create mode 100644 misc/zebra/unimarc/unimarc.abs create mode 100644 misc/zebra/unimarc/unimarc.mar create mode 100644 misc/zebra/unimarc/unimarc.tag create mode 100644 misc/zebra/unimarc/zebra.cfg diff --git a/misc/zebra/unimarc/explain.att b/misc/zebra/unimarc/explain.att new file mode 100644 index 0000000000..04eb034c76 --- /dev/null +++ b/misc/zebra/unimarc/explain.att @@ -0,0 +1,27 @@ +# The Explain Attribute Set +# +# $Id$ +name explain +reference Exp-1 + +att 1 ExplainCategory +att 2 HumanStringLanguage +att 3 DatabaseName +att 4 Targetname +att 5 AttributeSetOID +att 6 RecordSyntaxOID +att 7 TagSetOID +att 8 ExtendedServicesOID +att 9 DateAdded +att 10 DateChanged +att 11 DateExpired +att 12 ElementSetName +att 13 ProcessingContext +att 14 ProcessingName +att 15 TermListName +att 16 SchemaOID +att 17 Producer +att 18 Supplier +att 19 Availability +att 20 Proprietary +att 21 UserFee diff --git a/misc/zebra/unimarc/unimarc.abs b/misc/zebra/unimarc/unimarc.abs new file mode 100644 index 0000000000..314da33fe1 --- /dev/null +++ b/misc/zebra/unimarc/unimarc.abs @@ -0,0 +1,29 @@ +name unimarc +reference Usmarc +attset bib1.att +tagset unimarc.tag + +marc unimarc.mar + +esetname B @ +esetname F @ + +elm 700 Author - +elm 700/? Author - +elm 700/?/a Author !:w + +#elm 701 Author - +#elm 701/? Author - +#elm 701/?/a Author !:w + +elm 200 Title - +elm 200/? Title - +elm 200/?/a Title !:w,!:p +elm 200/?/e Title !:w,!:p + +elm 210 Publisher - +elm 210/? Publisher - +elm 210/?/c Publisher !:w +elm 210/?/d Date-of-publication !:w + + diff --git a/misc/zebra/unimarc/unimarc.mar b/misc/zebra/unimarc/unimarc.mar new file mode 100644 index 0000000000..cc271b3eb8 --- /dev/null +++ b/misc/zebra/unimarc/unimarc.mar @@ -0,0 +1,2 @@ +name unimarc +reference Usmarc diff --git a/misc/zebra/unimarc/unimarc.tag b/misc/zebra/unimarc/unimarc.tag new file mode 100644 index 0000000000..f0e3715662 --- /dev/null +++ b/misc/zebra/unimarc/unimarc.tag @@ -0,0 +1,16 @@ +# pseudo-tagset for unimarc (bib) + +name unimarc +type 4 + +tag 701 701 string +tag 200 200 string +tag 210 210 string +tag 225 225 string +tag 010 010 string +tag 100 100 string +tag 005 005 generalizedtime +tag 615 615 string +tag 995 995 string + + diff --git a/misc/zebra/unimarc/zebra.cfg b/misc/zebra/unimarc/zebra.cfg new file mode 100644 index 0000000000..a0c2a76470 --- /dev/null +++ b/misc/zebra/unimarc/zebra.cfg @@ -0,0 +1,25 @@ +# Simple Zebra configuration file that defines +# a database with USMARC records. +# $Id$ +# +# Where are the config files located? +profilePath: ${srcdir:-.}:${srcdir:-.}/../tab + +# Files that describe the attribute sets supported. +attset: bib1.att +attset: explain.att + +# Specify record type +recordType: grs.marc.unimarc + +# Lock File Area +lockDir: lock + +# Temp File area for result sets +setTmpDir: tmp + +# Temp File area for index program +keyTmpDir: tmp + +# Approx. Memory usage during indexing +memMax: 4 -- 2.39.2