Summary: | Silent zebra in UNIMARC | ||
---|---|---|---|
Product: | Koha | Reporter: | Paul Poulain <paul.poulain> |
Component: | Searching | Assignee: | Paul Poulain <paul.poulain> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P3 | CC: | gitbot, mathsabypro |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Bug Depends on: | 8252 | ||
Bug Blocks: | |||
Attachments: | Bug 11119 silent zebra in UNIMARC |
Description
Paul Poulain
2013-10-22 21:18:43 UTC
I was writing a new bug, but did not validate the form ;-) in fact lcn is an alias for Local-Classification (for 995k) I removed lcn from record.abs, but forgot to do it for the 2 new DOM conf files. The more simple for 208 is probably to index it in notes. If you or some Biblibre guy write a patch, I could easily test it and sign it off for DOM Unimarc (current conf of my VM) Mathieu Created attachment 22303 [details] [review] Bug 11119 silent zebra in UNIMARC This patch fixes some zebra configuration mistakes in UNIMARC, that results in many warnings issued on zebra console Test plan: * run a search with zebra, see that there are lot of warnes like : 23:32:56-22/10 zebrasrv(1) [warn] Index 'lcn' not found in attset(s) * apply the patch * update your zebra config file, reload zebra (no need to reindex afaik) * run the same search => no more warnings Changes: * UPC (on 072$a & $z) has been removed * Serials, Printed-music & Electronic-ressource has been removed * Title-host has been replaced by Host-item * lcn has been removed Mathieu: additional comments: * Host-item is also defined in 995$a => seems silly to me. Do you confirm ? (I haven't changed anything in this patch) * all 4xx$t fields are indexed as Title. Isn't it wrong ? (Sounds strange to me) (In reply to Paul Poulain from comment #4) > Mathieu: additional comments: > * Host-item is also defined in 995$a => seems silly to me. Do you confirm ? > (I haven't changed anything in this patch) I never used analytics, so not sure of how it is working. In MARC21, is the equivalent of 995$a also indexed in "Host-item"? If not so, it is probably a mistake in Unimarc. > * all 4xx$t fields are indexed as Title. Isn't it wrong ? (Sounds strange > to me) I suppose it could be usefull for some of them, maybe for all. For ex, if you have a serial whose name has changed, the old name will be in 4XX. And a user could find it by searching the old name. Idem, if you have a set of 3 books with a collective title (ex : "French history", with vol. 1 = "From Ceasar to Clovis", vol. 2 = "From Clovis to De Gaulle"), the main title will be in 200$a, and some 4XX will be used to store the title of vol. 1 and 2. See the indexes used in SUDOC network : http://documentation.abes.fr/sudoc/manuels/pdf/index_cles.pdf index MTI (Mot du Titre) Titre 200 $a $c $d $e $h $i Note de contenu 327 $a Titre uniforme 500 $a $h $i $k $l $m $n $q $r $s $u $3 Rubrique de classement 501 $a $e $k $m $r $s $u $3 Titre de forme 503 $a $b $d $e $f $h $i $j $k $l $m $n Tous titres ajoutés 51X $a $e $h $i 520 $a $e $h $i 54X $a $e $h $i Titre clé 530 $a $b Titre développé 532 $a Titres principaux de tables des matières (PROVISOIRE) 359 $b $c Titres en relation 4XX sauf 410 qui va en COL Note that the Sudoc is also indexing 359 (table of contents). This field is - I think - typically french. It is not in Zebra standard unimarc conf files yet. Mathieu For 773 and 461 : they are used in C4::Biblio::PrepHostMarcField, respectively for Marc21 and Unimarc. Confirmation that they are equivalent fields. (By the way, C4::Biblio::PrepHostMarcField seems more written in Marc21 than in Unimarc) Mathieu Paul, I think you forgot to add ../unimarc/biblios/biblio-zebra-indexdefs.xsl to your patch. Could you regenerate it from ../unimarc/biblios/biblio-koha-indexdefs.xml ? Applying: Bug 11119 silent zebra in UNIMARC Using index info to reconstruct a base tree... M etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml M etc/zebradb/marc_defs/unimarc/biblios/record.abs Falling back to patching base and 3-way merge... Auto-merging etc/zebradb/marc_defs/unimarc/biblios/record.abs CONFLICT (content): Merge conflict in etc/zebradb/marc_defs/unimarc/biblios/record.abs Auto-merging etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml CONFLICT (content): Merge conflict in etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml Patch failed at 0001 Bug 11119 silent zebra in UNIMARC The copy of the patch that failed is found in: /home/christopher/git/koha/.git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Hello Paul I believe you regenerated DOM files from record.abs. This is maybe not a good idea, as the different files have now to live their own lives... I am writing a patch with a lot of little changes, I will include inside it the changes discussed here ;-) Mathieu (In reply to mathieu saby from comment #9) > Hello Paul > I believe you regenerated DOM files from record.abs. This is maybe not a > good idea, as the different files have now to live their own lives... > I am writing a patch with a lot of little changes, I will include inside it > the changes discussed here ;-) > > Mathieu Shouldn't we close this one and mark it as a duplicate of your patch then ? ( I'm fine with it ) yes ;-) *** This bug has been marked as a duplicate of bug 11202 *** |