Ignore:
Timestamp:
2018-10-24T20:13:22+13:00 (6 years ago)
Author:
ak19
Message:

First commit to do with reading back in from the SQL DB. This commit introduces the new GreenstoneSQLPlugin for this purpose, which should ideally only be used during buildcol (but its init(), deinit() and read() methods are also called on import.pl). The new plugin works with GreenstoneSQLPlugout which wrote meta and txt to the SQL DB. Lots of TODOs and questions still here, some debug statements too. Also have to run some decisions by Dr Bainbridge. There are many hardcoded values which still have to be parameterised (not always completely sure how) and still have to test the 2 cases of sending just meta and just fulltxt to db. Next commit will tidy some things up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/GreenstoneSQLPlugout.pm

    r32536 r32537  
    5858my $process_mode_list =
    5959    [ { 'name' => "meta_only",
    60         'desc' => "{GreenstoneSQLPlugout.process_mode.meta_only}" },     
     60        'desc' => "{GreenstoneSQLPlug.process_mode.meta_only}" },     
    6161      { 'name' => "text_only",
    62         'desc' => "{GreenstoneSQLPlugout.process_mode.text_only}" },
     62        'desc' => "{GreenstoneSQLPlug.process_mode.text_only}" },
    6363      { 'name' => "all",
    64         'desc' => "{GreenstoneSQLPlugout.process_mode.all}" } ];
     64        'desc' => "{GreenstoneSQLPlug.process_mode.all}" } ];
    6565
    6666my $arguments = [
    6767       { 'name' => "process_mode",
    68      'desc' => "{GreenstoneSQLPlugout.process_mode}",
     68     'desc' => "{GreenstoneSQLPlug.process_mode}",
    6969     'type' => "enum",
    7070     'list' => $process_mode_list,
Note: See TracChangeset for help on using the changeset viewer.