Bug 11362 - increase zebra AUTH register sizes, from 4G to 20G
authorMason James <mtj@kohaaloha.com>
Mon, 29 Sep 2014 11:08:59 +0000 (00:08 +1300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 24 Oct 2014 12:41:04 +0000 (09:41 -0300)
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>

debian/templates/zebra-authorities-dom-site.cfg.in
debian/templates/zebra-authorities-site.cfg.in
etc/zebradb/zebra-authorities-dom.cfg
etc/zebradb/zebra-authorities.cfg

index 524e4fb..1255fed 100644 (file)
@@ -26,7 +26,7 @@ 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)  
+recordId: (bib1,Local-Number)
 # was auth1
 storeKeys:1
 storeData:1
@@ -35,8 +35,8 @@ storeData:1
 lockDir: /var/lock/koha/__KOHASITE__/authorities
 perm.anonymous:ar
 perm.kohauser:rw
-register: /var/lib/koha/__KOHASITE__/authorities/register:4G
-shadow: /var/lib/koha/__KOHASITE__/authorities/shadow:1G 
+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
index dc67a19..045e873 100644 (file)
@@ -36,7 +36,7 @@ marcxml.recordType:grs.sgml
 # why it knows to use record.abs
 recordType:grs.xml
 
-recordId: (bib1,Local-Number)  
+recordId: (bib1,Local-Number)
 # was auth1
 storeKeys:1
 storeData:1
@@ -46,8 +46,8 @@ lockDir: /var/lock/koha/__KOHASITE__/authorities
 perm.anonymous:ar
 perm.kohauser:rw
 passwd: /etc/koha/sites/__KOHASITE__/zebra.passwd
-register: /var/lib/koha/__KOHASITE__/authorities/register:4G
-shadow: /var/lib/koha/__KOHASITE__/authorities/shadow:1G
+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
index d74f422..fbde7c2 100644 (file)
@@ -26,7 +26,7 @@ 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)  
+recordId: (bib1,Local-Number)
 # was auth1
 storeKeys:1
 storeData:1
@@ -35,8 +35,8 @@ storeData:1
 lockDir: __ZEBRA_LOCK_DIR__/authorities
 perm.anonymous:ar
 perm.__ZEBRA_USER__:rw
-register: __ZEBRA_DATA_DIR__/authorities/register:4G
-shadow: __ZEBRA_DATA_DIR__/authorities/shadow:1G 
+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
index f617557..dea1f7b 100644 (file)
@@ -36,7 +36,7 @@ marcxml.recordType:grs.sgml
 # why it knows to use record.abs
 recordType:grs.xml
 
-recordId: (bib1,Local-Number)  
+recordId: (bib1,Local-Number)
 # was auth1
 storeKeys:1
 storeData:1
@@ -46,8 +46,8 @@ lockDir: __ZEBRA_LOCK_DIR__/authorities
 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 
+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