No search results and zebra warning
Hi, Our library has Koha 3.8 installed on Debian 6 using the deb packege koha-common. I've imported a part of our UNIMARC records with items, but it seems that no record was indexed - searching for known keywords gives no results. Running koha-rebuild zebra -f {instance name} gives this warning: [warn] Record didn't contain match fields in (bib1,Local-number) Is this a problem with wrong Unimarc records in the imported batch? Any hint is appreciated! Thanks! Marius
Op 01-08-12 13:41, Marius Stoica schreef:
Is this a problem with wrong Unimarc records in the imported batch?
When you ran koha-create to create the instance, did you specify that you wanted unimarc then? i.e. "sudo koha-create --marcflavor unimarc"? If not, you may have complications like this. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Thanks, I've created an instance specifing the "--marcflavor unimarc" flag, imported the records and then rebuild zebra index. No luck; zebra or nozebra there are no results after a search query. Here is the output from my koha-rebuild-zebra command: root@koha:~# koha-rebuild-zebra -f bjar3
16:33:58-01/08 zebraidx(2635) [warn] Index 'tpubdate' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Modified-code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'char-encoding' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'char-encoding' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'char-encoding' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'script-Title' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Country-heading' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Illustration-code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Content-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Content-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Content-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Content-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Conference-code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Festschrift-indicator' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Index-indicator' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Literature-Code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Biography-Code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Type-Of-Serial' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Frequency-code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Regularity-code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Content-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Content-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Conference-publication-Code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Title-Page-availability-Code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Index-availability-Code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Cumulative-Index-availability-Code' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Video-mt' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Graphics-type' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Graphics-support' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Graphics-support' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Serials' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Serials' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Printed-music' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Printed-music' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Electronic-ressource' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Title-host' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'title-host' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'Title-host' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'title-host' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'lcn' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'lcn' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'popularity' not found in attset(s) 16:33:58-01/08 zebraidx(2635) [warn] Index 'popularity' not found in attset(s)
Any ideas? On Wed, Aug 1, 2012 at 3:39 PM, Robin Sheat <robin@catalyst.net.nz> wrote:
Op 01-08-12 13:41, Marius Stoica schreef:
Is this a problem with wrong Unimarc records in the imported batch?
When you ran koha-create to create the instance, did you specify that you wanted unimarc then? i.e. "sudo koha-create --marcflavor unimarc"?
If not, you may have complications like this.
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Op 01-08-12 15:49, Marius Stoica schreef:
Thanks, I've created an instance specifing the "--marcflavor unimarc" flag, imported the records and then rebuild zebra index. No luck; zebra or nozebra there are no results after a search query. Here is the output from my koha-rebuild-zebra command:
root@koha:~# koha-rebuild-zebra -f bjar3
16:33:58-01/08 zebraidx(2635) [warn] Index 'tpubdate' not found in attset(s)
No real ideas sorry, just to say hat that looks quite bad. I'm no unimarc expert however. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
You need to edit some files and do some changes: /etc/koha/zebradb/ccl.properties #Comment/Uncoment the lines you need /etc/koha/zebradb/marc_defs/unimarc/biblios/record.abs #Comment/Uncoment the lines you need and change this line: melm 090$9 Local-number,Local-number:n to the number you use in Koha to MARC mapping and in your frameworks. Example: If you use 090$9 in your frameworks you don't change it. If you use 999$9, you have to change it to 999$9 Local-number,Local-number:n Than change in Administration/Koha to MARC mapping: biblionumber 999 9 Número Koha biblio number (autogenerated) Explanation: http://www.len.ro/work/koha-search/ http://www.len.ro/work/koha-search-2/ Than: koha-rebuild-zebra -f -v koha -- View this message in context: http://koha.1045719.n5.nabble.com/No-search-results-and-zebra-warning-tp5721... Sent from the Koha-general mailing list archive at Nabble.com.
participants (3)
-
anjoze -
Marius Stoica -
Robin Sheat