Bug 7421: support indexing UNIMARC authority records using the DOM Filter
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Mon, 9 Jan 2012 07:58:20 +0000 (08:58 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 10 Oct 2013 21:03:15 +0000 (21:03 +0000)
commit4d8b1ec7864837bfb139c547e6e461644b5f730d
tree70ee629885501fdd30d5e146f533fc4921e69936
parent521e599dd82061fd10321d681d06d1409134d39c
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@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@keep.pt>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml [new file with mode: 0644]
etc/zebradb/marc_defs/unimarc/authorities/authority-zebra-indexdefs.xsl [new file with mode: 0644]
etc/zebradb/marc_defs/unimarc/authorities/record.abs