aabea3417b
This commit is a partial fix to authority control for MARC21, and better authority handling in general (for UNIMARC too). Before this patch, authority searching, editing, saving, was not functioning, or was extremely buggy. WARNING: You will need to re-index your authority database after applying this commit. The following changes have been made: * Normalizing record.abs index names (in both MARC21 and UNIMARC) * Synching authorities/bib1.att, ccl.properties, AuthoritiesMarc.pm with new indexes (UNIMARC too) * Clean up biblios/bib1.att (remove duplicate att defs) * Clean up authorities-* templates to conform to new styles * Fixed search failure when using Default framework (now searches All) Also included are several fixes to the built-in SRU server for Authority and Biblio, it's recommended that you update your koha-conf.xml file: * adding explain-authorities.xml and explain-biblios.xml * adding necessary info to koha-conf.xml to enable SRU/W * adding several example XSLT stylesheets, that can be used for SRU on-the-fly transformations (to MODS, DC, RDF, etc.) Still remaining for 3.0 are the following tasks: * update MARC21 frameworks (authority and cross-reference bib) * update display code/templates in authority results list * update search code/templates to utilize index points * implement 'grouping' of authtypes for searching (Name, Title, Subject) * repair utility to import auths and perform matching * repair bibliographic import to match auths and warn if no match Signed-off-by: Joshua Ferraro <jmf@liblime.com>
57 lines
1.7 KiB
INI
57 lines
1.7 KiB
INI
# Simple Zebra configuration file that defines
|
|
# a database with MARCXML records.
|
|
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
|
|
#
|
|
# Where are the config files located?
|
|
profilePath:__ZEBRA_CONF_DIR__/biblios/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
|
|
# modulePath - where to look for loadable zebra modules
|
|
modulePath: /usr/lib/idzebra-2.0/modules
|
|
|
|
encoding: UTF-8
|
|
# Files that describe the attribute sets supported.
|
|
attset: bib1.att
|
|
attset: explain.att
|
|
attset: gils.att
|
|
|
|
# systag sysno rank
|
|
|
|
# Specify record type
|
|
# group .recordType[ .name ]: type
|
|
# type is split into fundamental type. file-read-type . argument
|
|
# http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
|
|
# http://www.indexdata.dk/zebra/doc/grs.tkl
|
|
|
|
# Can use -g iso2709 to batch index raw iso2709 records in a single or
|
|
# multiple files, or marcxml records that are split into separate files
|
|
# the trailing .record tells zebraidx to use record.abs
|
|
iso2709.recordType:grs.marcxml.record
|
|
|
|
# Can use -g marcxml to batch index marcxml files
|
|
# zebraidx uses record.abs because of <record> is the root element
|
|
marcxml.recordType:grs.sgml
|
|
|
|
# Koha uses grs.xml internally when updating a single record, no idea
|
|
# why it knows to use record.abs
|
|
recordType:grs.xml
|
|
|
|
recordId: (bib1,Local-number)
|
|
storeKeys:1
|
|
storeData:1
|
|
|
|
|
|
# Lock File Area
|
|
lockDir: __ZEBRA_LOCK_DIR__/biblios
|
|
perm.anonymous:r
|
|
perm.__ZEBRA_USER__:rw
|
|
register: __ZEBRA_DATA_DIR__/biblios/register:4G
|
|
shadow: __ZEBRA_DATA_DIR__/biblios/shadow:4G
|
|
|
|
# Temp File area for result sets
|
|
setTmpDir: __ZEBRA_DATA_DIR__/biblios/tmp
|
|
|
|
# Temp File area for index program
|
|
keyTmpDir: __ZEBRA_DATA_DIR__/biblios/key
|
|
|
|
# Approx. Memory usage during indexing
|
|
memMax: 50M
|
|
rank:rank-1
|