=item --force-set
-force conversion C<normalize->path> in C<config.yml> from
+force conversion C<< normalize->path >> in C<config.yml> from
C<.xml> to C<.pl>
=item --stats
push @{ $row->{'000'} }, $pos;
}
- my $ds = $n ? $n->data_structure($row) :
- WebPAC::Normalize::Set::data_structure(
+
+ my $ds;
+ if ($n) {
+ $ds = $n->data_structure($row);
+ } else {
+ $ds = WebPAC::Normalize::Set::data_structure(
row => $row,
rules => $rules,
lookup => $lookup->lookup_hash,
);
+ $db->save_ds(
+ id => $mfn,
+ ds => $ds,
+ prefix => $input->{name},
+ ) if ($ds);
+ }
+
$indexer->add(
id => $input->{name} . "/" . $mfn,
ds => $ds,