Ignore:
Timestamp:
2012-05-31T13:19:14+12:00 (12 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

File:
1 edited

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    }       
Note: See TracChangeset for help on using the changeset viewer.