104 |
$indexer_config->{clean} = $clean; |
$indexer_config->{clean} = $clean; |
105 |
$indexer_config->{label} = $db_config->{name}; |
$indexer_config->{label} = $db_config->{name}; |
106 |
|
|
|
# important: clean database just once! |
|
|
$clean = 0; |
|
|
|
|
107 |
if ($use_indexer eq 'hyperestraier') { |
if ($use_indexer eq 'hyperestraier') { |
108 |
|
|
109 |
# open Hyper Estraier database |
# open Hyper Estraier database |
204 |
my $new_norm_path = $normalize_path; |
my $new_norm_path = $normalize_path; |
205 |
$new_norm_path =~ s/\.xml$/.pl/; |
$new_norm_path =~ s/\.xml$/.pl/; |
206 |
if (-e $new_norm_path) { |
if (-e $new_norm_path) { |
207 |
$log->info("--force-set replaced $normalize_path with $new_norm_path"); |
$log->debug("--force-set replaced $normalize_path with $new_norm_path"); |
208 |
$normalize_path = $new_norm_path; |
$normalize_path = $new_norm_path; |
209 |
} else { |
} else { |
210 |
$log->warn("--force-set failed on $new_norm_path, fallback to $normalize_path"); |
$log->debug("--force-set failed on $new_norm_path, fallback to $normalize_path"); |
211 |
} |
} |
212 |
} |
} |
213 |
|
|