Changeset 9157


Ignore:
Timestamp:
2005-02-23T14:34:44+13:00 (19 years ago)
Author:
kjdon
Message:

changed the my declarations of the global variables to our - so lucene code can use them

Location:
trunk/gsdl/perllib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/mgppbuilder.pm

    r8776 r9157  
    4646}
    4747
    48 my $maxdocsize = 12000;
    49 
    50 my %level_map = ('document'=>'Doc',
     48our $maxdocsize = 12000;
     49
     50our %level_map = ('document'=>'Doc',
    5151          'section'=>'Sec',
    5252          'paragraph'=>'Para',
     
    5959#$para_level = "Para";
    6060
    61 my %wanted_index_files = ('td'=>1,
     61our %wanted_index_files = ('td'=>1,
    6262               't'=>1,
    6363               'tl'=>1,
     
    7575#add AND, OR, NOT NEAR to this list - these cannot be used as field names
    7676#also add the level names (Doc, Sec, Para)
    77 my %static_indexfield_map = ('Title'=>'TI',
     77our %static_indexfield_map = ('Title'=>'TI',
    7878              'TI'=>1,
    7979              'Subject'=>'SU',
  • trunk/gsdl/perllib/mgppbuildproc.pm

    r8716 r9157  
    4343
    4444#this must be the same as in mgppbuilder
    45 my %level_map = ('document'=>'Doc',
     45our %level_map = ('document'=>'Doc',
    4646          'section'=>'Sec',
    4747          'paragraph'=>'Para');
Note: See TracChangeset for help on using the changeset viewer.