Changeset 12951
- Timestamp:
- 2006-09-29T16:09:13+12:00 (18 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/lucenebuildproc.pm
r12844 r12951 149 149 # sections match up with gdbm db 150 150 my $indexed_section = $doc_obj->get_metadata_element($section, "gsdldoctype") || "indexed_section"; 151 if ( !$indexed_doc|| ($indexed_section ne "indexed_section" && $indexed_section ne "indexed_doc")) {151 if (($indexed_doc == 0) || ($indexed_section ne "indexed_section" && $indexed_section ne "indexed_doc")) { 152 152 $text .= "\n</$sectiontag>\n" if ($sectiontag ne ""); 153 153 $section = $doc_obj->get_next_section($section); -
trunk/gsdl/perllib/mgppbuildproc.pm
r12424 r12951 244 244 245 245 my $indexed_section = $doc_obj->get_metadata_element($section, "gsdldoctype") || "indexed_section"; 246 if (( !$indexed_doc) || ($indexed_section ne "indexed_section" && $indexed_section ne "indexed_doc")) {246 if (($indexed_doc == 0) || ($indexed_section ne "indexed_section" && $indexed_section ne "indexed_doc")) { 247 247 # we are not actually indexing anything for this document, 248 248 # but we want to keep the section numbers the same, so we just
Note:
See TracChangeset
for help on using the changeset viewer.