Ignore:
Timestamp:
2009-02-03T09:48:19+13:00 (15 years ago)
Author:
davidb
Message:

Additions to support the deleting of documents from the index. Only works for indexers that support incremental building, e.g. lucene

File:
1 edited

Legend:

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

    r18440 r18456  
    132132        $output_filename = "";
    133133    }
    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 = "";
    142     }
    143134    }
    144135}
     
    150141#  *  the command line of the java wrapper.
    151142#  *
    152 #  *  @author John Rowe, DL Consulting
    153143#  */
    154144sub main
Note: See TracChangeset for help on using the changeset viewer.