Browse Source

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>
MM-OPAC/theme_dep
Mason James 8 years ago
committed by Tomas Cohen Arazi
parent
commit
a657589b1f
  1. 6
      debian/templates/zebra-authorities-dom-site.cfg.in
  2. 6
      debian/templates/zebra-authorities-site.cfg.in
  3. 6
      etc/zebradb/zebra-authorities-dom.cfg
  4. 6
      etc/zebradb/zebra-authorities.cfg

6
debian/templates/zebra-authorities-dom-site.cfg.in

@ -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

6
debian/templates/zebra-authorities-site.cfg.in

@ -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

6
etc/zebradb/zebra-authorities-dom.cfg

@ -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

6
etc/zebradb/zebra-authorities.cfg

@ -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

Loading…
Cancel
Save