Ignore:
Timestamp:
2016-08-24T11:15:20+12:00 (8 years ago)
Author:
kjdon
Message:

lucene is expecting the stored text file to be doc.xml. So output it as such, no matter what the input file was. usually the input will have been doc.xml, but it may not be, eg when using METS as archive format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/lucene_passes.pl

    r29144 r30741  
    116116    if ($line =~ m/^<Doc.+file=\"(.*?)\".*>$/) {
    117117        $output_filename = $1;
    118        
     118        #change the filename to doc.xml, keeping any path
     119        $output_filename = &util::filename_head($output_filename);
     120        $output_filename = &util::filename_cat($output_filename, "doc.xml");
    119121    }
    120122   
Note: See TracChangeset for help on using the changeset viewer.