Changeset 28954

Show
Ignore:
Timestamp:
31.03.2014 11:32:20 (6 years ago)
Author:
kjdon
Message:

the library code is now going to use the indexsortfieldmap, and we need to have a mapping for rank/none to make the code easier. SO just add in a mapping like rank->rank

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/lucenebuilder.pm

    r28459 r28954  
    514514    if ($sf eq "rank" || $sf eq "none") { 
    515515        push(@sortfields, $sf); 
     516        push (@sortfieldmap, "$sf\-\>$sf"); 
    516517    } elsif ($self->{'buildproc'}->{'actualsortfields'}->{$sf}) { 
    517518        my $shortname = $self->{'buildproc'}->{'sortfieldnamemap'}->{$sf};