]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 25 Jun 2012 21:18:56 +0000 (09:18 +1200)
commit87cb6ccdc8699df720e71bfe0ecda7967716f1a8
tree29c0790f7e2b0594f37710087826123d724d89d8
parent94f11f65c487e06e1cf9332b664e82e243eea73b
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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
etc/koha-conf.xml
etc/zebradb/authorities/etc/dom-config.xml
etc/zebradb/biblios/etc/dom-config.xml
misc/migration_tools/rebuild_zebra.pl