Changeset 20419


Ignore:
Timestamp:
2009-08-28T12:05:38+12:00 (15 years ago)
Author:
kjdon
Message:

strip off ex. before retrieving metadata for indexing. ex. now valid in collect.cfg

Location:
gsdl/trunk/perllib
Files:
3 edited

Legend:

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

    r18471 r20419  
    223223        }
    224224        else {
     225            $submeta =~ s/^ex\.//; #strip off ex.
     226
    225227            # its a metadata element
    226228            my @section_metadata = @{$doc_obj->get_metadata ($section, $submeta)};
  • gsdl/trunk/perllib/mgbuildproc.pm

    r17110 r20419  
    107107            } else {
    108108            my $first = 1;
     109            $real_field =~ s/^ex\.//; # remove ex namespace if there
    109110            my @section_metadata = @{$doc_obj->get_metadata ($section, $real_field)};
    110111            if ($level eq "section" && $section ne $doc_obj->get_top_section() && $self->{'indexing_text'} && defined ($self->{'sections_index_document_metadata'})) {
  • gsdl/trunk/perllib/mgppbuildproc.pm

    r17797 r20419  
    326326            }
    327327            else {
     328            $submeta =~ s/^ex\.//; #strip off ex.
    328329            # its a metadata element
    329330            my @section_metadata = @{$doc_obj->get_metadata ($section, $submeta)};
Note: See TracChangeset for help on using the changeset viewer.