Ignore:
Timestamp:
2001-05-29T10:50:25+12:00 (23 years ago)
Author:
kjm18
Message:

added indexmap and indexfieldmap to build.cfg fields

File:
1 edited

Legend:

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

    r2355 r2479  
    100100# {'numbytes'}->string
    101101# {'indexfields'}->array of strings
    102 
     102# {'indexfieldmap'}->array of strings in the form "field->FI"
     103# {'indexmap'} -> array of strings
     104 
    103105sub read_build_cfg {
    104106    my ($filename) = @_;
     
    106108    return &cfgread::read_cfg_file ($filename,
    107109                    q/^(builddate|buildtype|numdocs|numwords|numbytes)$/,
    108                     q/^(metadata|languages|indexfields)$/);
     110                    q/^(metadata|languages|indexfields|indexfieldmap|indexmap)$/);
    109111}
    110112
     
    113115
    114116    &cfgread::write_cfg_file($filename, $data,
    115                  q/^(builddate|buildtype|numdocs|numwords|numbytes)$/,
    116                  q/^(metadata|languages|indexfields)$/);
     117           q/^(builddate|buildtype|numdocs|numwords|numbytes)$/,
     118           q/^(metadata|languages|indexfieldsindexfieldmap|indexmap)$/);
    117119}
    118120
Note: See TracChangeset for help on using the changeset viewer.