Ignore:
Timestamp:
2005-05-24T14:31:21+12:00 (19 years ago)
Author:
kjdon
Message:

added a new field to build.cfg: indexstem. specifies the root of teh index/gdbm filenames. can now rename a colleciton and it will still work without rebuilding

File:
1 edited

Legend:

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

    r9936 r9938  
    11411141    $build_cfg->{'builddate'} = time;
    11421142    $build_cfg->{'buildtype'} = $self->{'buildtype'};
    1143    
     1143    $build_cfg->{'indexstem'} = $self->{'collection'};
    11441144    # store the level info
    11451145    my @indexlevels = ();
     
    11931193    # write out the build information
    11941194    &cfgread::write_cfg_file("$self->{'build_dir'}/build.cfg", $build_cfg,
    1195                  '^(builddate|buildtype|numdocs|numbytes|textlevel)$',
     1195                 '^(builddate|buildtype|numdocs|numbytes|textlevel|indexstem)$',
    11961196                             '^(indexmap|subcollectionmap|languagemap|indexfieldmap|notbuilt|indexfields|indexlevels|levelmap)$');
    11971197
Note: See TracChangeset for help on using the changeset viewer.