Ignore:
Timestamp:
2009-02-01T14:35:22+13:00 (15 years ago)
Author:
davidb
Message:

Modifications for incremental building to support files that need to be deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/lucene_passes.pl

    r16264 r18440  
    131131        $doc_xml = "";
    132132        $output_filename = "";
     133    }
     134    elsif ($line =~ m/<\/Delete>\s*$/) {
     135        if ($mode eq "index") {
     136        $doc_xml =~ s/\n+/\n/g;
     137
     138        # notify lucene indexer
     139        print PIPEOUT "$doc_xml";
     140        }
     141        $doc_xml = "";
    133142    }
    134143    }
Note: See TracChangeset for help on using the changeset viewer.