Koha/debian/templates/zebra-authorities-dom-site.cfg.in
Mason James a657589b1f Bug 11362 - increase zebra AUTH register sizes, from 4G to 20G
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>
2014-10-24 09:41:04 -03:00

50 lines
1.6 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:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/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./etc/koha/zebradb/authorities/etc/dom-config.xml
marcxml.recordtype: dom./etc/koha/zebradb/authorities/etc/dom-config.xml
iso2709.recordtype: dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml
recordId: (bib1,Local-Number)
# was auth1
storeKeys:1
storeData:1
# Lock File Area
lockDir: /var/lock/koha/__KOHASITE__/authorities
perm.anonymous:ar
perm.kohauser:rw
register: /var/lib/koha/__KOHASITE__/authorities/register:20G
shadow: /var/lib/koha/__KOHASITE__/authorities/shadow:20G
# Temp File area for result sets
setTmpDir: /var/lib/koha/__KOHASITE__/authorities/tmp
# Temp File area for index program
keyTmpDir: /var/lib/koha/__KOHASITE__/authorities/key
# Approx. Memory usage during indexing
memMax: 50M
rank:rank-1