Changeset 17566

Show
Ignore:
Timestamp:
22.10.2008 13:25:15 (11 years ago)
Author:
kjdon
Message:

lucene no longer does anything with paragraphs, so we print a warning if the user has specified them

Files:
1 modified

Legend:

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

    r17564 r17566  
    195195    $indexes = $self->{'collect_cfg'}->{'indexes'}; 
    196196    } 
    197  
     197    # have we got para index? 
     198    foreach my $level (keys %{$self->{'levels'}}) { 
     199    if ($level =~ /paragraph/) { 
     200        print $outhandle "Warning: Paragraph level indexing not supported by Lucene\n"; 
     201        last; 
     202    } 
     203    } 
    198204    # create the mapping between the index descriptions 
    199205    # and their directory names (includes subcolls and langs)