Koha 3 indexing problem
Hello everyone, I'm converting my organization's library data to Koha version 3, and am having a problem with indexing the data so that it's searchable. I've uploaded publication data into the "biblio", "biblioitems", and "items" tables, and ran the rebuild_nozebra.pl script. When I then do a search, I get results, but the results have no titles, and no links to the publication. But if I open a record and save it on the "addbiblio" page, that record will show up properly in the search results with the title and link. Does anyone know what I'm doing wrong? Thanks for your help, Jason
Jason -- Did you populate the "marc" and "marcxml" fields of the biblioitems table? I'm guessing not, since if you had the MARC available, you could have just imported the data from that format directly. If you can export MARC from your old system, this would be the preferred approach. --Joe Atzberger On Thu, Nov 6, 2008 at 12:12 PM, Jason Macki <jmacki@iisd.ca> wrote:
Hello everyone,
I'm converting my organization's library data to Koha version 3, and am having a problem with indexing the data so that it's searchable.
I've uploaded publication data into the "biblio", "biblioitems", and "items" tables, and ran the rebuild_nozebra.pl script.
When I then do a search, I get results, but the results have no titles, and no links to the publication.
But if I open a record and save it on the "addbiblio" page, that record will show up properly in the search results with the title and link.
Does anyone know what I'm doing wrong?
Thanks for your help, Jason
Hi Joe, Thanks for your response.
Did you populate the "marc" and "marcxml" fields of the biblioitems table?
I did populate those fields. However, since MINISIS (our old library system) doesn't export marc records, I had to write a program to create the marc data in xml and ISO format, so they may contain errors.
I'm guessing not, since if you had the MARC available, you could have just imported the data from that format directly.
I've been trying to import the data directly to the data tables since it's my understanding that the bulk import script won't import holding information. However, if I can't get this approach to work, I will attempt to use the bulk import feature to import the biblioitem information, then update the data tables with the item information. I'm finding it tricky to verify that the ISO marc content is valid. Can anyone recommend an application or script that can validate ISO marc records? One of the details that I wasn't 100% sure on was which characters to use for field and record separators. I've been using ascii character 30 as a field separator and ascii character 29 as a record separator, following advice I read on a bulletin board somewhere. Is that correct? The best documentation I could find for marc files is here, but it isn't specific about what the separator characters should be: http://www.loc.gov/marc/umb/um11to12.html Thanks, Jason From: Joe Atzberger [mailto:ohiocore@gmail.com] Sent: Thursday, November 06, 2008 1:29 PM To: Jason Macki Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha 3 indexing problem Jason -- Did you populate the "marc" and "marcxml" fields of the biblioitems table? I'm guessing not, since if you had the MARC available, you could have just imported the data from that format directly. If you can export MARC from your old system, this would be the preferred approach. --Joe Atzberger On Thu, Nov 6, 2008 at 12:12 PM, Jason Macki <jmacki@iisd.ca<mailto:jmacki@iisd.ca>> wrote: Hello everyone, I'm converting my organization's library data to Koha version 3, and am having a problem with indexing the data so that it's searchable. I've uploaded publication data into the "biblio", "biblioitems", and "items" tables, and ran the rebuild_nozebra.pl script. When I then do a search, I get results, but the results have no titles, and no links to the publication. But if I open a record and save it on the "addbiblio" page, that record will show up properly in the search results with the title and link. Does anyone know what I'm doing wrong? Thanks for your help, Jason
On Thu, Nov 06, 2008 at 03:57:11PM -0600, Jason Macki wrote:
I've been trying to import the data directly to the data tables since it's my understanding that the bulk import script won't import holding information. However, if I can't get this approach to work, I will attempt to use the bulk import feature to import the biblioitem information, then update the data tables with the item information.
you should put holding information in 952 field. bulkmarcimport will populte items table with data from that field.
I'm finding it tricky to verify that the ISO marc content is valid. Can anyone recommend an application or script that can validate ISO marc records?
try marclint. it comes with default Koha installation. Marijana
Marijana Glavica wrote:
try marclint. it comes with default Koha installation.
You have tweaked my interest. I cannot find marclint in the Koha install. Any clues as to where I might find it? cheers rickw -- ________________________________________________________________ Rick Welykochy || Praxis Services || Internet Driving Instructor When the power of love overcomes the love of power, the world will know peace. -- Jimi Hendrix
On 2008/11/9, at 2:34 PM, Rick Welykochy wrote:
Marijana Glavica wrote:
try marclint. it comes with default Koha installation.
You have tweaked my interest.
I cannot find marclint in the Koha install. Any clues as to where I might find it?
cheers rickw
$ cpan MARC::Record $ sudo apt-get install libmarc-record-perl http://packages.debian.org/search? suite=default§ion=all&arch=any&searchon=contents&keywords=marclint
On Sun, Nov 09, 2008 at 08:54:03PM +1300, Mason James wrote:
On 2008/11/9, at 2:34 PM, Rick Welykochy wrote:
Marijana Glavica wrote:
try marclint. it comes with default Koha installation.
You have tweaked my interest.
I cannot find marclint in the Koha install. Any clues as to where I might find it?
cheers rickw
$ cpan MARC::Record
$ sudo apt-get install libmarc-record-perl
http://packages.debian.org/search? suite=default§ion=all&arch=any&searchon=contents&keywords=marclint
Yes, thank you, I was not very precise. Marclint is not part of the Koha, but it comes with one of the perl modules needed by Koha. after you install it (and you should have instaled it during the Koha installation), just type: $ marclint file.iso Marijana
Marijana Glavica wrote:
Yes, thank you, I was not very precise. Marclint is not part of the Koha, but it comes with one of the perl modules needed by Koha.
after you install it (and you should have instaled it during the Koha installation), just type:
$ marclint file.iso
Thanks for all your help. I now have marclint and it is indeed finding things wrong with the MARC21 file I have created from CSV data. This vindicates bulkmarcimport.pl ... I need to fix me script. Now as to why the script did produce correct MARC21 data in Koha 2.2.9 but not in the K3 environment, I can only suspect changes in the Perl environment, i.e. different versions and compatibility with the MARC::* classes. cheers rickw -- ________________________________________________________________ Rick Welykochy || Praxis Services || Internet Driving Instructor When the power of love overcomes the love of power, the world will know peace. -- Jimi Hendrix
participants (5)
-
Jason Macki -
Joe Atzberger -
Marijana Glavica -
Mason James -
Rick Welykochy