Ignore:
Timestamp:
2006-07-21T15:54:02+12:00 (18 years ago)
Author:
mdewsnip
Message:

Added support for "indexed_section" and "info_section" gsdldoctype metadata, which is the same as "indexed_doc" and "info_doc" but at the section level.

File:
1 edited

Legend:

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

    r12272 r12274  
    146146    # but we need to put the section tag placeholders in there so the
    147147    # sections match up with gdbm db
    148     if (!$indexed_doc) {
     148    my $indexed_section = $doc_obj->get_metadata_element($section, "gsdldoctype") || "indexed_section";
     149    if (!$indexed_doc || $indexed_section ne "indexed_section") {
    149150        $text .= "\n</$sectiontag>\n" if ($sectiontag ne "");
    150151        $section = $doc_obj->get_next_section($section);
Note: See TracChangeset for help on using the changeset viewer.