[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-1270-g4d8b1ec
Git repo owner
gitmaster at git.koha-community.org
Thu Oct 10 23:00:37 CEST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 4d8b1ec7864837bfb139c547e6e461644b5f730d (commit)
via 521e599dd82061fd10321d681d06d1409134d39c (commit)
from 68c44093a414dac6ac1319c03b6dee0d152f24cd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4d8b1ec7864837bfb139c547e6e461644b5f730d
Author: Mathieu Saby <mathieu.saby at univ-rennes2.fr>
Date: Mon Jan 9 08:58:20 2012 +0100
Bug 7421: support indexing UNIMARC authority records using the DOM Filter
I took as a base the patch of F. Demians, but made a lot of changes,
so I think it is more logical to create a new patch as the behavior is
not the same as previous patch.
I tried to define DOM config files as a "miror" of record.abs, so the
behavior be the same.
If it is OK, we will be able to improve indexing later, for example
suppressing warns, managing indicators or subdivisions, etc.
I made some little changes to record.abs :
- comments
- 216 was indexed in Conference-name as well as Trademark. I suppose
that "Conference-name" is an error, so I indexed only in Trademark
- index 2 new notes : 340 / 356
The only difference between record.abs and DOM is that DOM config files
does not index complete fields, but subfields.
Ex :
melm 200 ===> <kohaidx:index_subfields tag="200" subfields="abcdfgjxyz">
I took all the subfields from the UNIMARC Authorities manual. The only
subfields not indexed are numeric subfields : $7, $8 for language of
record, and $0,2,3,5,6 for 4XX/5XX/7XX
To test :
- index a set of bib and auth records with GRS-1
- make some searches on different kind of authorities
- index the same records with DOM
- make the same searches
- You are not supposed to see differences
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
As I am not a UNIMARC user it's hard for me to test this, but
while testing other authority related patches I noticed that I couldn't
index the UNIMARC authorities of the sample base. The files are obviously
missing and reindex_zebra.pl notes this. With this patch applied,
indexing works and authorities are searchable in my installation.
Signed-off-by: Vitor Fernandes <fvernandes at keep.pt>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 521e599dd82061fd10321d681d06d1409134d39c
Author: Galen Charlton <gmc at esilibrary.com>
Date: Thu Oct 10 20:59:11 2013 +0000
Bug 7421: add regression tests for UNIMARC authorities DOM indexing
This patch enhances t/db_dependent/Search.t to test indexing and
searching of authority records. It supplies a sample authority file
for MARC21 (consisting of the record for William Shakespeare from the
Library of Congress) and a sample UNIMARC authority file supplied
by Henri-Damien Laurent.
It also adds tests for both MARC21 and UNIMARC authorities.
When the main patch for bug 7421 is applied, t/db_dependent/Search.t
should pass.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
.../authorities/authority-koha-indexdefs.xml | 683 ++++++++++++++++++++
.../authorities/authority-zebra-indexdefs.xsl | 669 +++++++++++++++++++
.../marc_defs/unimarc/authorities/record.abs | 71 +-
t/db_dependent/Search.t | 74 ++-
.../marc21/zebraexport/authority/exported_records | 1 +
.../unimarc/zebraexport/authority/exported_records | 1 +
t/db_dependent/zebra_config.pl | 4 +
7 files changed, 1476 insertions(+), 27 deletions(-)
create mode 100644 etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml
create mode 100644 etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl
create mode 100644 t/db_dependent/data/unimarc/zebraexport/authority/exported_records
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list