Show
Ignore:
Timestamp:
13.10.2011 13:23:05 (8 years ago)
Author:
sjm84
Message:

Some changes to support the store_metadata_coverage option

Files:
1 modified

Legend:

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

    r24495 r24754  
    316316} 
    317317 
     318sub set_store_metadata_coverage { 
     319    my $self = shift (@_); 
     320    my ($store_metadata_coverage) = @_; 
     321     
     322    $self->{'buildproc'}->set_store_metadata_coverage($store_metadata_coverage); 
     323} 
     324 
    318325sub compress_text { 
    319326    my $self = shift (@_); 
     
    458465    $self->{'buildproc'}->set_indexing_text (0); 
    459466    $self->{'buildproc'}->set_store_text(1); 
    460     $self->{'buildproc'}->set_store_metadata_coverage ($self->{'collect_cfg'}->{'store_metadata_coverage'}); 
    461467 
    462468    # make_infodatabase needs full reset even for incremental build 
     
    708714    my $mdprefix_fields = $self->{'buildproc'}->{'mdprefix_fields'}; 
    709715    foreach my $prefix (keys %$mdprefix_fields) 
    710     { 
     716    {    
    711717    push(@{$collection_infodb->{"metadataset"}}, $prefix); 
    712718