Bug 7818 : Following, fixing so the packages build Still need to update koha-create...
authorChris Cormack <chris@bigballofwax.co.nz>
Fri, 29 Jun 2012 10:23:40 +0000 (22:23 +1200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 6 Jul 2012 09:17:19 +0000 (11:17 +0200)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

debian/koha.install
debian/templates/zebra-biblios-dom-site.cfg.in [new file with mode: 0644]

index 831de78..40ae34a 100644 (file)
@@ -4,3 +4,4 @@ debian/tmp/var
 debian/tmp/etc/koha/zebradb/zebra-biblios.cfg
 debian/tmp/etc/koha/zebradb/zebra-authorities.cfg
 debian/tmp/etc/koha/zebradb/zebra-authorities-dom.cfg
+debian/tmp/etc/koha/zebradb/zebra-biblios-dom.cfg
\ No newline at end of file
diff --git a/debian/templates/zebra-biblios-dom-site.cfg.in b/debian/templates/zebra-biblios-dom-site.cfg.in
new file mode 100644 (file)
index 0000000..a748ddd
--- /dev/null
@@ -0,0 +1,55 @@
+# 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__:__ZEBRA_CONF_DIR__/xsl
+# 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
+
+recordtype: dom.__ZEBRA_CONF_DIR__/biblios/etc/dom-config.xml
+marcxml.recordtype: dom.__ZEBRA_CONF_DIR__/biblios/etc/dom-config.xml
+iso2709.recordtype: dom.__ZEBRA_CONF_DIR__/biblios/etc/dom-config-marc.xml
+
+recordId: (bib1,Local-number)
+storeKeys:1
+storeData:1
+
+
+# Lock File Area
+lockDir: __ZEBRA_LOCK_DIR__/biblios
+perm.anonymous:ar
+perm.__ZEBRA_USER__:rw
+passwd: __ZEBRA_CONF_DIR__/etc/passwd
+register: __ZEBRA_DATA_DIR__/biblios/register:20G
+shadow: __ZEBRA_DATA_DIR__/biblios/shadow:20G
+
+# 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
+truncmax: 1000000000
+
+# Specifies the maximum number of records that will be sorted in a result set.
+# If the result set contains more than that limit, the records after the limit
+# will not be sorted. If omitted, the default value is 1,000.
+sortmax: 1000