Mason James
a657589b1f
To test... - apply patch - build and install a new Koha .deb from patched codebase - create a new Koha instance - add some authority records to instance - do a full zebra reindex - do an authorities search, and get some results note: this patch does not fix existing Koha instances, just new ones Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
50 lines
1.5 KiB
INI
50 lines
1.5 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__/authorities/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__:__ZEBRA_CONF_DIR__/xsl
|
|
|
|
encoding: UTF-8
|
|
# modulePath - where to look for loadable zebra modules
|
|
modulePath: /usr/lib/idzebra-2.0/modules
|
|
|
|
# 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
|
|
recordtype: dom.__ZEBRA_CONF_DIR__/authorities/etc/dom-config.xml
|
|
marcxml.recordtype: dom.__ZEBRA_CONF_DIR__/authorities/etc/dom-config.xml
|
|
iso2709.recordtype: dom.__ZEBRA_CONF_DIR__/authorities/etc/dom-config-marc.xml
|
|
|
|
recordId: (bib1,Local-Number)
|
|
# was auth1
|
|
storeKeys:1
|
|
storeData:1
|
|
|
|
# Lock File Area
|
|
lockDir: __ZEBRA_LOCK_DIR__/authorities
|
|
perm.anonymous:ar
|
|
perm.__ZEBRA_USER__:rw
|
|
register: __ZEBRA_DATA_DIR__/authorities/register:20G
|
|
shadow: __ZEBRA_DATA_DIR__/authorities/shadow:20G
|
|
|
|
# Temp File area for result sets
|
|
setTmpDir: __ZEBRA_DATA_DIR__/authorities/tmp
|
|
|
|
# Temp File area for index program
|
|
keyTmpDir: __ZEBRA_DATA_DIR__/authorities/key
|
|
|
|
# Approx. Memory usage during indexing
|
|
memMax: 50M
|
|
rank:rank-1
|
|
|