[Koha] zebra indexes are not working

Joe Atzberger ohiocore at gmail.com
Tue Jul 21 03:12:50 NZST 2009


Please do not send to both koha and koha-devel lists.  Pick one or the
other.  In this case, this is not a development question, so the main koha
list is appropriate.

Your problem is common and is typically causes by improper record data.  As
a practical matter, you can split out the last 1000 records and treat them
separately.  Try analyzing the problem record(s) with MarcEdit or the
MARC::Lint module.

Here is a sample script you can use:

#!/usr/bin/perl
#

use warnings;
use strict;

use MARC::File::USMARC;
use MARC::Lint;

my $lint = new MARC::Lint;
my $filename = shift;

my $i = 0;
my $file = MARC::File::USMARC->in( $filename );
while ( my $marc = $file->next() ) {
    $lint->check_record( $marc );
    $lint->warnings or next;
    printf "(title %03d:) %s\n", ++$i, $marc->title;
    print join("\n", $lint->warnings), "\n";
}

Execute the script with one argument: the filename of the file containing
your problem record(s).

-- 
Joe Atzberger
LibLime - Open Source Library Solutions

On Mon, Jul 20, 2009 at 5:42 AM, Z. Iqbal <zahidiqbal_isb at yahoo.com> wrote:

>
> hi
> i am working on koha3 with debian 5.
> i have imported about 68000 marc records through koha3
> interface(staged,then
> import) with small files about 100 marc record in each file
> and zebra services have been working properly.
> the problem arises when i imported 69000 marc record the zebra service get
> stop and after 68000 record, no records have been search by zebra.
> can any one have the same problem.
> i donot know what to do?
> regards,
> z.iqbal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090720/8ef72819/attachment.htm 


More information about the Koha mailing list