+ create links to other databases [2.00_4]
+ add regexp filter [2.00_5]
+ add YAML as normalize format
-- add more input formats (MARC::Fast and others)
++ add more input formats (MARC::Fast and others) [2.00_6]
- delete unused files in database directories
- scoring for various fields in input/*.xml
- write pure perl Search::HyperEstraier
#, SCREEN
# you can specify methods from WebPAC here also!
-#log4perl.logger.main=INFO
-log4perl.logger.main=DEBUG
+log4perl.logger.main=INFO
+#log4perl.logger.main=DEBUG
#log4perl.logger.WebPAC=DEBUG
=cut
-our $VERSION = '2.00_5';
+our $VERSION = '2.00_6';
=head1 SYNOPSIS
$self->_get_logger()->warn("seek beyond database size $self->{size} to $mfn");
} else {
my $row = $db->fetch($mfn);
- $row->{'000'}->[0] = $mfn;
+ push @{$row->{'000'}}, $mfn;
return $row;
}
}
=head1 VERSION
-Version 0.06
+Version 0.07
=cut
-our $VERSION = '0.06';
+our $VERSION = '0.07';
=head1 SYNOPSIS
my $row = $input_db->fetch || next;
- my $mfn = $row->{000}->[0] || $row->{000} || die "can't find MFN";
+ my $mfn = $row->{'000'}->[0];
- if ($mfn =~ m#^\d+$#) {
+ if (! $mfn || $mfn !~ m#^\d+$#) {
$log->warn("record $pos doesn't have valid MFN but '$mfn', using $pos");
$mfn = $pos;
- $row->{000}->[0] = $pos;
+ push @{ $row->{'000'} }, $pos;
}
my $ds = $n->data_structure($row);
$est->add(
- id => $input->{name} . "#" . $mfn,
+ id => $input->{name} . "/" . $mfn,
ds => $ds,
type => $config->{hyperestraier}->{type},
);