Bug 13770 - There should be a command in Debian packages to switch to DOM indexing
Summary: There should be a command in Debian packages to switch to DOM indexing
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 23:16 UTC by Mirko Tietgen
Modified: 2019-10-14 19:57 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirko Tietgen 2015-02-27 23:16:17 UTC
We should offer an easy way to upgrade from GRS1 to DOM indexing. People could use it manually now and it should be part of the upgrade process to 3.20 or legacy (-ish package) installations will break.

zebra-biblios-dom.cfg creation could be done with something like

sed -e "s/__KOHASITE__/instancename/g" \
    -e "s/__ZEBRA_MARC_FORMAT__/marcflavour/g" \
    -e "s/__ZEBRA_LANGUAGE__/en/g" \
        "/etc/koha/zebra-biblios-dom-site.cfg.in" > "/etc/koha/sites/instancename/zebra-biblios-dom.cfg"

maybe for all instances found by koha-list.

koha-conf.xml has to be checked for zebra_*_index_mode and use_zebra_facets and they need to be changed or added, the xi: stuff has to be added to the biblioserver section. Zebra restarted and rebuilt afterwards.
Comment 1 Mirko Tietgen 2015-03-14 16:42:45 UTC
zebra-biblios-dom.cfg gets added by the packages anyway, so it's just the koha-conf.xml changes.
Comment 2 Mirko Tietgen 2018-05-30 12:56:51 UTC
Time for this has passed I guess.