Changeset 12974


Ignore:
Timestamp:
2006-10-03T12:01:31+13:00 (18 years ago)
Author:
kjdon
Message:

incremental option changed to incremental_dlc, and its now set by basebuilder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/lucenebuilder.pm

    r12910 r12974  
    5454sub new {
    5555    my $class = shift(@_);
    56     my ($collection, $source_dir, $build_dir, $verbosity, $maxdocs, $debug, $keepold, $allclassifications, $outhandle, $no_text, $faillog, $gli, $incremental) = @_;
    57 
    5856    my $self = new mgppbuilder (@_);
    5957    $self = bless $self, $class;
     
    7876      $self->{'full_lucene_passes_exe'} = "perl -S \"$lucene_passes_script\"";
    7977    }
    80 
    81     # We must also record whether we have been asked to do just an incremental
    82     # build (which makes no difference to the Lucene indexing bit, just the
    83     # building of the classifiers in the GDBM).
    84     $self->{'incremental'} = $incremental;
    8578
    8679    return $self;
     
    403396    #       already exists. If it doesn't, let the super classes function be
    404397    #       called once to generate it.
    405     if (!$self->{'incremental'} || !(-e $infodb_file))
     398    if (!$self->{'incremental_dlc'} || !(-e $infodb_file))
    406399      {
    407400        # basebuilder::make_infodatabase(@_);
Note: See TracChangeset for help on using the changeset viewer.