Changeset 17565

Show
Ignore:
Timestamp:
22.10.2008 13:24:14 (11 years ago)
Author:
kjdon
Message:

removed some debug statements, and no longer load in the default indexfieldmap to buildproc

Files:
1 modified

Legend:

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

    r17564 r17565  
    613613    # eg <TI>Title 
    614614    #    <SU>Subject 
    615     # these now come from collection meta. if that is not defined, usses the metadata name 
     615    # these now come from collection meta. if that is not defined, uses the metadata name 
    616616    my $collmeta = ""; 
    617617    foreach my $longfield (@{$self->{'build_cfg'}->{'indexfields'}}){ 
     
    763763    my @indexmap = (); 
    764764 
    765     print STDERR "in final field list\n"; 
    766     if (scalar(keys %{$self->{'buildproc'}->{'indexfieldmap'}}) == 0) { 
     765    #if (scalar(keys %{$self->{'buildproc'}->{'indexfieldmap'}}) == 0) { 
    767766    # set the default mapping 
    768767    #$self->{'buildproc'}->set_indexfieldmap ($self->{'indexfieldmap'}); 
    769     } 
     768    #} 
    770769    # we read the stuff in from the build.cfg file - if its there 
    771770    my $buildconfigfile = &util::filename_cat($self->{'build_dir'}, "build.cfg"); 
     
    789788 
    790789    if (defined $buildcfg->{'indexfieldmap'}) { 
    791     print STDERR "found index field map\n"; 
    792790    foreach $field (@{$buildcfg->{'indexfieldmap'}}) { 
    793791        push (@indexfieldmap, "$field");