[Koha-bugs] [Bug 7421] UNIMARC authorities DOM indexing mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 7 00:16:55 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7421

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

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

--- Comment #32 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 21840
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21840&action=edit
[SIGNED-OFF] Bug 7421 Add UNIMARC 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 supposes
"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.

[2013-10-07] Added second sign off from Vitor.

Signed-off-by: Vitor Fernandes <fvernandes at keep.pt>

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


More information about the Koha-bugs mailing list