- Timestamp:
- 2006-07-28T15:18:49+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r10472 r12338 139 139 'reqd' => "no", 140 140 'hiddengli' => "yes" }, 141 { 'name' => "maxnumeric", 142 'desc' => "{buildcol.maxnumeric}", 143 'type' => "int", 144 'reqd' => "no", 145 'deft' => "4", 146 'range' => "4,512" }, 141 147 { 'name' => "mode", 142 148 'desc' => "{buildcol.mode}", … … 213 219 $create_images, $collectdir, $build, $type, $textindex, 214 220 $no_strip_html, $no_text, $faillog, $gli, $index, $language, 215 $sections_index_document_metadata );221 $sections_index_document_metadata, $maxnumeric); 216 222 217 223 my $xml = 0; … … 324 330 } 325 331 } 332 if (defined $collectcfg->{'maxnumeric'} && $collectcfg->{'maxnumeric'} =~ /\d+/) { 333 $maxnumeric = $collectcfg->{'maxnumeric'}; 334 } 335 336 if ($maxnumeric < 4 || $maxnumeric > 512) { 337 $maxnumeric = 4; 338 } 339 326 340 if (defined $collectcfg->{'debug'} && $collectcfg->{'debug'} =~ /^true$/i) { 327 341 $debug = 1; … … 352 366 } 353 367 } 368 354 369 355 370 if (defined $collectcfg->{'create_images'} && $collectcfg->{'create_images'} =~ /^true$/i) { … … 457 472 458 473 $builder->init(); 459 474 $builder->set_maxnumeric($maxnumeric); 475 460 476 if (($buildertype eq "mgppbuilder") && $no_strip_html) { 461 477 $builder->set_strip_html(0); … … 464 480 $builder->set_sections_index_document_metadata($sections_index_document_metadata); 465 481 } 466 482 467 483 if ($mode =~ /^all$/i) { 468 484 $builder->compress_text($textindex);
Note:
See TracChangeset
for help on using the changeset viewer.