Zebra indexing problem of unimarc file
Hi all, I'm trying to install Koha 3.0.3 to my debian lenny machine for testing purpose. The installation goes fine, but i've a lot of problem with the indexing of files. I have a .mrc file in UNIMARC that I try to import with bulkmarcimport.pl, BUT ......here my output: koha@kindebian:~/codice/misc/migration_tools$ perl -I/home/koha/codice bulkmarcimport.pl -d -c UNIMARC --file cafo-test.mrc deleting biblios 1100....Use of uninitialized value in length at /home/koha/codice/C4/Biblio.pm line 3248, <GEN11> line 1104. 1200................................................................................................. 1297 MARC records done in 17.486762046814 seconds koha@kindebian:~/codice/misc/migration_tools$ perl -I/home/koha/codice rebuild_zebra.pl -r -b -w 19:26:44-08/10 zebraidx(14400) [warn] Index 'tpubdate' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Modified-code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'char-encoding' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'char-encoding' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'char-encoding' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'script-Title' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Country-heading' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Illustration-code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Content-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Content-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Content-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Content-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Conference-code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Festschrift-indicator' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Index-indicator' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Literature-Code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Biography-Code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Type-Of-Serial' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Frequency-code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Regularity-code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Content-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Content-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Conference-publication-Code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Title-Page-availability-Code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Index-availability-Code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Cumulative-Index-availability-Code' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Video-mt' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Graphics-type' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Graphics-support' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Graphics-support' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Serials' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Serials' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Printed-music' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Printed-music' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Electronic-ressource' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'Title-host' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'title-host' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'lcn' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'lcn' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'popularity' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'popularity' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Index 'item' not found in attset(s) 19:26:44-08/10 zebraidx(14400) [warn] Record didn't contain match fields in (bib1,Local-number) I cannot understand if the problem came from zebra settings or from my .mrc file. I've tried the nozebra indexing and worked fine. When I've tried to connect with yaz-client seems to have some problems, but as now I cannot understand how to solve. Sorry for my bad english and thanks a lot for any help. Giulio Bonanome
Giulio Bonanome a écrit :
Hi all,
I'm trying to install Koha 3.0.3 to my debian lenny machine for testing purpose. The installation goes fine, but i've a lot of problem with the indexing of files. I have a .mrc file in UNIMARC that I try to import with bulkmarcimport.pl <http://bulkmarcimport.pl>, BUT ......here my output:
19:26:44-08/10 zebraidx(14400) [warn] Record didn't contain match fields in (bib1,Local-number)
This is the line interesting: Local-Number should be in 001 or in 090$a or in 999$a depending on your configuration. check out that 999$a is indexed as Local-number in your record.abs might not be the case. If it is not then add that line to your record abs : melm 999$a Local-number:n Should work btw record.abs stands in path_to_koha_etc/zebradb/marc_defs/unimarc/biblios/record.abs Hopes that helps. -- Henri-Damien LAURENT
Yes! It works with melm 999$a Local-number,Local-number:n added to record.abs. Thanks a lot! Ehm....but the [warn] messagges still remain during indexing, do you think need investigation? Even record.abs and bib1.att looks fine... Thanks for everything Giulio Bonanome Humanities Computing student at Ca' Foscari University - Venice 2009/10/8 LAURENT Henri-Damien <henridamien.laurent@gmail.com>
Giulio Bonanome a écrit :
Hi all,
I'm trying to install Koha 3.0.3 to my debian lenny machine for testing purpose. The installation goes fine, but i've a lot of problem with the indexing of files. I have a .mrc file in UNIMARC that I try to import with bulkmarcimport.pl< http://bulkmarcimport.pl>, BUT ......here my output:
19:26:44-08/10 zebraidx(14400) [warn] Record didn't contain match fields in (bib1,Local-number)
This is the line interesting: Local-Number should be in 001 or in 090$a or in 999$a depending on your configuration.
check out that 999$a is indexed as Local-number in your record.abs might not be the case. If it is not then add that line to your record abs : melm 999$a Local-number:n Should work
btw record.abs stands in path_to_koha_etc/zebradb/marc_defs/unimarc/biblios/record.abs
Hopes that helps. -- Henri-Damien LAURENT
Hi, I had the same problem. My Framework had Koha field *biblionumber* mapped to *999$9* so ha had to add: /melm 999$9 Local-number,Local-number:n/ to /etc/koha/zebradb/marc_defs/unimarc/biblios/record.abs One very good help is here: http://www.len.ro/2010/06/koha-search-2/ Thanks, JA -- View this message in context: http://koha.1045719.n5.nabble.com/Zebra-indexing-problem-of-unimarc-file-tp3... Sent from the Koha-general mailing list archive at Nabble.com.
participants (3)
-
anjoze -
Giulio Bonanome -
LAURENT Henri-Damien