WARNING: Updates to Index Defs for Authorities
[koha.git] / etc / zebradb / zebra-authorities.cfg
1
2 # Simple Zebra configuration file that defines
3 # a database with MARCXML records.
4 # $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
5 #
6 # Where are the config files located?
7 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__
8
9 encoding: UTF-8
10 # modulePath - where to look for loadable zebra modules
11 modulePath: /usr/lib/idzebra-2.0/modules
12
13 # Files that describe the attribute sets supported.
14 attset: bib1.att
15 attset: explain.att
16 attset: gils.att
17
18 #systag sysno rank
19
20 # Specify record type
21 # group   .recordType[  .name  ]:  type
22 # type is split into fundamental type. file-read-type . argument
23 # http://www.indexdata.dk/zebra/doc/zebra-cfg.tkl
24 # http://www.indexdata.dk/zebra/doc/grs.tkl
25
26 # Can use -g iso2709 to batch index raw iso2709 records in a single or
27 # multiple files, or marcxml records that are split into separate files
28 # the trailing .record tells zebraidx to use record.abs
29 iso2709.recordType:grs.marcxml.record
30
31 # Can use -g marcxml to batch index marcxml files
32 # zebraidx uses record.abs because of <record> is the root element
33 marcxml.recordType:grs.sgml
34
35 # Koha uses grs.xml internally when updating a single record, no idea
36 # why it knows to use record.abs
37 recordType:grs.xml
38
39 recordId: (bib1,Local-Number)  
40 # was auth1
41 storeKeys:1
42 storeData:1
43
44 # Lock File Area
45 lockDir: __ZEBRA_LOCK_DIR__/authorities
46 perm.anonymous:r
47 perm.__ZEBRA_USER__:rw
48 register: __ZEBRA_DATA_DIR__/authorities/register:4G
49 shadow: __ZEBRA_DATA_DIR__/authorities/shadow:1G 
50
51 # Temp File area for result sets
52 setTmpDir: __ZEBRA_DATA_DIR__/authorities/tmp
53
54 # Temp File area for index program
55 keyTmpDir: __ZEBRA_DATA_DIR__/authorities/key
56
57 # Approx. Memory usage during indexing
58 memMax: 50M
59 rank:rank-1
60