Changeset 17106 for gsdl/trunk/perllib/basebuildproc.pm
- Timestamp:
- 2008-08-29T15:46:59+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/basebuildproc.pm
r16222 r17106 524 524 &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle, $section_OID, \%section_infodb); 525 525 526 # output a database entry for the document number 527 if ($self->{'db_level'} eq "document") { 528 &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle, $self->{'num_docs'}, { 'section' => [ $doc_OID ] }); 529 } 530 else { 531 &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle, $self->{'num_sections'}, { 'section' => [ $section_OID ] }); 526 # output a database entry for the document number, except for Lucene (which no longer needs this information) 527 unless (ref($self) eq "lucenebuildproc") 528 { 529 if ($self->{'db_level'} eq "document") { 530 &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle, $self->{'num_docs'}, { 'section' => [ $doc_OID ] }); 531 } 532 else { 533 &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle, $self->{'num_sections'}, { 'section' => [ $section_OID ] }); 534 } 532 535 } 533 536
Note:
See TracChangeset
for help on using the changeset viewer.