X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=etc%2Fzebradb%2Fzebra-authorities.cfg;h=f61755795dcb65d1234f8a47995bc4a9a0b06133;hb=13fe2e013d88945aaa372f0c394a2464ca986786;hp=1d41a2c3bf7016a1584e09416798afe7b34f3f61;hpb=0f5fa1bf2d083b0799e16cf15d90574543492e31;p=koha.git diff --git a/etc/zebradb/zebra-authorities.cfg b/etc/zebradb/zebra-authorities.cfg index 1d41a2c3bf..f61755795d 100644 --- a/etc/zebradb/zebra-authorities.cfg +++ b/etc/zebradb/zebra-authorities.cfg @@ -4,7 +4,7 @@ # $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__:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__ +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__ encoding: UTF-8 # modulePath - where to look for loadable zebra modules @@ -13,22 +13,39 @@ modulePath: /usr/lib/idzebra-2.0/modules # Files that describe the attribute sets supported. attset: bib1.att attset: explain.att -attset:gils.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 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) # was auth1 storeKeys:1 storeData:1 - # Lock File Area lockDir: __ZEBRA_LOCK_DIR__/authorities -perm.anonymous:r +perm.anonymous:ar perm.__ZEBRA_USER__:rw +passwd: __ZEBRA_CONF_DIR__/etc/passwd register: __ZEBRA_DATA_DIR__/authorities/register:4G shadow: __ZEBRA_DATA_DIR__/authorities/shadow:1G @@ -39,6 +56,6 @@ setTmpDir: __ZEBRA_DATA_DIR__/authorities/tmp keyTmpDir: __ZEBRA_DATA_DIR__/authorities/key # Approx. Memory usage during indexing -memMax: 200M +memMax: 50M rank:rank-1