Koha/debian/templates
Magnus Enger be69176982 Bug 9256 - Fix search for the packages
See the bug for a description of the problem.

This patch tries to restore searching for marcflavour != MARC21 as well as
allowing instances with different marcflavors to co-exist on the same server.

To test:
- Do a package install with e.g. the official squeeze-dev packages and create at
  least two instances, with different marcflavours, e.g.:
  sudo koha-create --create-db --marcflavor marc21 test1
  sudo koha-create --create-db --marcflavor normarc test2
- Run through the web installers for both instances and add a couple of
  records to each. Wait for the records to be indexed or run indexing manually
  with
  sudo koha-rebuild-zebra -f test1
  sudo koha-rebuild-zebra -f test2
- Try searching for the records you added. It should work in test1 but not in
  test2.
- Apply the patch and build packages with the build-git-snapshot script
- Install the new koha-common package
- Create two instances (because of Bug 9754 it is probably best to give the
  instances different names than the ones you created above, or to do this on
  a fresh VM or similar) and add records, as described above. Searching should
  now work equally well for both instances.

Please note: Because of Bug 9752 you will have to set marcflavour = NORMARC
by hand before you do the searching, if you choose NORMARC as the marc flavour
on one of the instances you create.

Please note too: I am not confident that this is the perfect solution, so
merciless and thorough testing is necessary! ;-)

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Works for me for GRS-1 (package installation out of the box). Could not figure out how to set up DOM indexing and eventually stopped caring about it.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Build packages with the patch and checked that creating
instances and search within them works for both MARC21 and NORMARC.
All tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-19 19:34:12 -04:00
..
apache-shared-disable.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-intranet.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-opac.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-site.conf.in Bug 7885 - Change filename of TransferLog suggested by packages to fit with logrotate 2012-04-04 15:15:43 +02:00
koha-conf-site.xml.in Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
SIPconfig.xml Bug 7238 - make packages deal with SIP config 2012-02-15 17:23:08 +01:00
unimarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
zebra-authorities-dom-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra-authorities-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra-biblios-dom-site.cfg.in Bug 7818 : Following, fixing so the packages build Still need to update koha-create to make use of the new file 2012-07-06 11:17:19 +02:00
zebra-biblios-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra.passwd.in Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00