Changeset 27698

Show
Ignore:
Timestamp:
24.06.2013 17:33:17 (6 years ago)
Author:
ak19
Message:

import.pl/export.pl now issues a reminder that sortmeta needs to be paired with -sort or -reversesort on ArchivesInfPlugin?.

Location:
main/trunk/greenstone2/perllib
Files:
2 modified

Legend:

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

    r27483 r27698  
    340340    &gsprintf($out, "{import.cannot_sort}\n\n"); 
    341341    $sortmeta = undef; 
     342    } 
     343    if (defined $sortmeta) { 
     344    &gsprintf($out, "{import.sortmeta_paired_with_ArchivesInfPlugin}\n\n");  
    342345    } 
    343346    $self->{'sortmeta'} = $sortmeta; 
  • main/trunk/greenstone2/perllib/strings.properties

    r27697 r27698  
    315315 
    316316import.sortmeta:Sort documents alphabetically by metadata for building (specifying -sortmeta as 'OID' is a special case, and instructs Greenstone to use the document identifier for ordering). Search results for boolean queries will be displayed in the order determined by sortmeta. This will be disabled if groupsize > 1. May be a commma separated list to sort by more than one metadata value. 
     317 
     318import.sortmeta_paired_with_ArchivesInfPlugin:Detected -sortmeta. To effect the stipulated sorting by metadata (or OID) remember this option should be paired with either the '-reversesort' or '-sort' option to ArchivesInfPlugin. 
    317319 
    318320import.statsfile:Filename or handle to print import statistics to.