RE: [greenstone-devel] Reverse sort order

From Emanuel Dejanu
DateWed, 1 Jun 2005 11:32:13 +0300
Subject RE: [greenstone-devel] Reverse sort order
In-Reply-To (20050531160859-GA28813-mercycorps-org)
Hi Doug,

There is no option on "import.pl" to do that.
But it is easy to implement it.

You must modify "perllib/arcinfo.pm"
"get_OID_list" function and of course
"bin/script/import.pl" to pass the sorting order
parameter to "arcinfo" class.

Best regards,

Emanuel Dejanu


-----Original Message-----
From: greenstone-devel-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-devel-bounces@list.scms.waikato.ac.nz] On Behalf Of Doug
Carter
Sent: Tuesday, May 31, 2005 7:09 PM
To: Greenstone Mailing List
Subject: [greenstone-devel] Reverse sort order


Hi all,

I've been looking through the config options as well as the mailing list
archives, but can seem to find anything about sorting search results in
reverse order. For a given boolean search, I'd like to list the most recent
document first. I have been able to pass import.pl the "-sortmeta Date"
flag, but that gives me the results in oldest date first. If someone can
point me to the spot in the perl code that controls this, I'd be happy to
take a pass at adding this option.

Thanks,

Doug


_______________________________________________
greenstone-devel mailing list
greenstone-devel@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel