Changeset 25723

Show
Ignore:
Timestamp:
31.05.2012 13:19:14 (7 years ago)
Author:
kjdon
Message:

when reloading the indexfieldmap from build.cfg for incremental building, need to add in the shortname->1 mapping, so that when we are generating a new shortname, we can see what other shortnames have already been used. Thanks to Malita, DL Consulting

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/lucenebuilder.pm

    r24496 r25723  
    117117        my ($f, $v) = $field =~ /^(.*)\-\>(.*)$/; 
    118118        $self->{'buildproc'}->{'indexfieldmap'}->{$f} = $v; 
     119        $self->{'buildproc'}->{'indexfieldmap'}->{$v} = 1; 
    119120    } 
    120121    }