]> git.koha-community.org Git - koha.git/commit
Bug 7818: -x option of rebuild_zebra.pl now works with DOM filter
authorGalen Charlton <gmc@esilibrary.com>
Fri, 6 Apr 2012 04:05:46 +0000 (00:05 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Sat, 9 Jun 2012 09:44:09 +0000 (11:44 +0200)
commitdaca5edc5288767cff93314416737214022148a0
treecc4f093b8ed353dd7a27875bb289016328e077ed
parent64680c18b35510d07c9c0da6868a13e9dcb83952
Bug 7818: -x option of rebuild_zebra.pl now works with DOM filter

One consequence is that the -x and -a options are no longer
mutually exclusive.

Also, because of the way that the GRS-1 SGML filter works, if you're
indexing multiple documents, you can't just wrap them in a document
element, but the DOM filter *requires* it.  Consequently, two
new config settings in koha-conf.xml are added to indicate the
Zebra filter in use so that the -x option of rebuild_zebra.pl
knows whether to wrap the exported records or not:

- bib_index_mode (defaults to 'grs1' if not specified)
- auth_index_mode (defaults to 'dom')

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
etc/koha-conf.xml
etc/zebradb/authorities/etc/dom-config.xml
etc/zebradb/biblios/etc/dom-config.xml
misc/migration_tools/rebuild_zebra.pl