[Koha-bugs] [Bug 12836] SRU Explain file needs to be rewritten

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 2 13:47:52 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12836

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60732|0                           |1
        is obsolete|                            |

--- Comment #9 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 60791
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60791&action=edit
Bug 12836 - Add script to rewrite SRU Explain file

The standard SRU Explain files provided with Koha is static and out of
date. This patch does two things
- Add a script in misc/maintenance/generate_explain.pl that can generate
  a new Explain file, based on Koha's config files and an optional extra
  config file. See the POD in the script for more details.
- Replace the old Explain files provided with Koha with two new files,
  generated by the script described above and based on the standard
  Koha/Zebra config.

To test:
- Have a look at etc/zebradb/explain-authorities.xml and
  etc/zebradb/explain-biblios.xml and see if they make sense as example
  files. Check that the list of indexes corresponds to the indexes set
  up in etc/zebradb/pqf.properties.
- Run "perldoc misc/maintenance/generate_explain.pl" to see available
  options and a decription of the config file.
- Run generate_explain.pl with different options and settings in the
  config file, and check that the output Explain docs make sense.

This patch will not break anything. It is more about documentation.
The Explain file documents the SRU server, it does not configure it.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list