Ignore:
Timestamp:
2008-05-23T15:33:58+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Changed all the "gdbm_level"s to "db_level".

File:
1 edited

Legend:

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

    r15003 r15685  
    159159    # stored text is always Doc and Sec levels   
    160160    my $levels = { 'document' => 1, 'section' => 1 };
    161     # always do gdbm at section level
    162     my $gdbm_level = "section";
     161    # always do database at section level
     162    my $db_level = "section";
    163163
    164164    # set up the document processr
     
    169169    $self->{'buildproc'}->set_indexfieldmap ($self->{'indexfieldmap'});
    170170    $self->{'buildproc'}->set_levels ($levels);
    171     $self->{'buildproc'}->set_gdbm_level ($gdbm_level);
     171    $self->{'buildproc'}->set_db_level ($db_level);
    172172    $self->{'buildproc'}->reset();
    173173    &plugin::begin($self->{'pluginfo'}, $self->{'source_dir'},
     
    320320
    321321    my $store_levels = $self->{'levels'};
    322     my $gdbm_level = "section"; #always
     322    my $db_level = "section"; #always
    323323    my $dom_level = "";
    324324    foreach my $key (keys %$store_levels) {
     
    342342    $self->{'buildproc'}->set_indexfieldmap ($self->{'indexfieldmap'});
    343343    $self->{'buildproc'}->set_levels ($local_levels);
    344     $self->{'buildproc'}->set_gdbm_level($gdbm_level);
     344    $self->{'buildproc'}->set_db_level($db_level);
    345345    $self->{'buildproc'}->reset();
    346346    &plugin::read ($self->{'pluginfo'}, $self->{'source_dir'},
Note: See TracChangeset for help on using the changeset viewer.