Bug 9612: fix SRU response for DOM indexing
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Mar 2014 12:24:11 +0000 (13:24 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 20:28:04 +0000 (20:28 +0000)
commit67abcc64433ba945416c7c8e8bf8aecc8c932f14
tree1981c8b5ef66c7a17fa716d42f5d5445d8edd868
parent036f2a50e11dab97ef8509f2f585c4cc407ea728
Bug 9612: fix SRU response for DOM indexing

This patch makes changes to koha-conf.xml by removing the fallback section
from biblioserver and authserver. The information is in a include file on
the same server (no need to fall back) and moreover, some information
is not up-to-date and should be moved elsewhere.

The patch also simplifies the DOM retrieval-info files for auth and bib.
And eliminates superfluous F and usmarc from the dom-config files. (I felt
the urge to remove marcxml too, but left it for now; see also the second
patch.) For reference, look at the marcxml example files of Zebra.

NOTE: This patch does not deal with the Debian package installs. In the
same way koha-conf-site.xml.in, and *-retrieval-info-* could be adjusted.

Test plan:
[1] Run at least a dev install in order to copy the new files to your
    Zebra folders. Choose for DOM indexing.
    Enable the SRU server on port 9998 (small edit in koha-conf.xml).
[2] Restart Zebra and reindex -a -b -x.
[3] Verify if a search from Koha still functions as expected.
    Check the SRU output on port 9998. NOTE: If you do not pass recordSchema,
    you should get back a marc response now (instead of index schema).
    Bonus: Add your server as a Z3950 target to another Koha install. And
    perform a Z3950 search from the other server to your new install.
    Bonus: Check response from the auth and biblio socket via yaz-client.
[4] Reindex again with -a -b but without -x.
[5] Repeat Koha search, SRU response (Z3950, yaz-client).

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
etc/koha-conf.xml
etc/zebradb/authorities/etc/dom-config-marc.xml
etc/zebradb/authorities/etc/dom-config.xml
etc/zebradb/biblios/etc/dom-config-marc.xml
etc/zebradb/biblios/etc/dom-config.xml
etc/zebradb/retrieval-info-auth-dom.xml
etc/zebradb/retrieval-info-bib-dom.xml