Koha/debian/docs
Tomas Cohen Arazi aba3db2628 Bug 8507: koha-create now supports using DOM indexing for bibs
This patch makes the koha-create script install the file zebra-biblios-dom.cfg
with the proper string substitutions inside on the new instance koha-conf.xml file.

It also adds two option switches that control the indexing mode for the instance:

 --biblio-idx {dom|grs1}
 --auth-idx {dom|grs1}

DOM indexing is set as the default for both authorities and bibliographic records.

Following drojf (thanks!) advice I arranged stuff like explained here:

  http://wiki.koha-community.org/wiki/Switching_to_dom_indexing

To test:
- Apply the patch
- Build your own packages and install them on a test server
a) Create a new instance without using the new switches like:
 $ koha-create --create-db domtest
 - Check there's a file /etc/koha/sites/domtest/zebra-biblios-dom.cfg
 - Check that /etc/koha/sites/domtest/koha-conf.xml points to:
   * zebra-biblios-dom.cfg (biblioserver section)
   * zebra-biblios-dom.cfg (publicserver section)
   * zebra-authorities-dom.cfg (authorityserver section)
 - Success means the new default is DOM
b) Play with the 4 possible combination of option switches
 $ koha-create --create-db --auth-idx grs1 --biblio-idx grs1 domtest
 $ koha-create --create-db --auth-idx grs1 --biblio-idx dom domtest
 $ koha-create --create-db --auth-idx dom --biblio-idx grs1 domtest
 $ koha-create --create-db --auth-idx dom --biblio-idx dom domtest
 - Check the koha-conf.xml file reflects the chosen options.
c) Run
 $ koha-create --help
 - It should advertise this addition accordingly.
d) Run
 $ man koha-create
 - Man page for koha-create should provide good information on the new switches behaviour

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-08-13 14:25:53 +00:00
..
koha-common.xml Bug 9250 - Followup to add koha-*-sip commands to koha-common.xml 2013-05-01 22:03:13 -04:00
koha-create-dirs.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-create.xml Bug 8507: koha-create now supports using DOM indexing for bibs 2013-08-13 14:25:53 +00:00
koha-disable.xml Bug 10104 - make koha-disable more robust 2013-05-01 21:58:38 -04:00
koha-dump-defaults.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-dump.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-email-disable.xml Bug 10150 - koha-email-disable error handling 2013-05-02 15:04:57 -07:00
koha-email-enable.xml Bug 10157 - koha-email-enable error handling 2013-05-15 08:13:17 -04:00
koha-enable-sip.xml Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-enable.xml Bug 10101 - make koha-enable more robust 2013-05-01 22:00:13 -04:00
koha-foreach.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-list.xml Bug 10094 - koha-list should have a --disabled option switch 2013-05-15 08:14:09 -04:00
koha-mysql.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-rebuild-zebra.xml Bug 10379 - Followup: add koha-rebuild-zebra -q to the man page 2013-06-26 08:56:05 -07:00
koha-remove.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-reset-passwd.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-restart-zebra.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-restore.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-run-backups.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-shell.xml Bug 8878 - a command to provide a shell with the koha environment 2012-12-20 08:01:46 -05:00
koha-start-sip.xml Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-start-zebra.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-stop-sip.xml Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-translate.xml Bug 10041 - Provide a koha-translate script to aid package users on installing translations 2013-05-01 22:02:16 -04:00
koha-upgrade-schema.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
koha-upgrade-to-3.4.xml Bug 10042 - Minor typo ("Communnity") in packages docs 2013-04-18 08:36:11 -04:00
LEEME.Debian