Skip to main content.
home | support | download

Back to List Archive

Re: Possible to reverse sort on secondary in config file?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Jun 05 2003 - 14:46:27 GMT
On Thu, Jun 05, 2003 at 07:17:07AM -0700, Jody Cleveland wrote:
> Hello,
> 
> In my configuration file for swish-e, I've got it set to sort by rank.
> Then, I have the secondary sort set to size. By default, it seems, it
> goes from highest number to lowest. That works great for rank. What I'm
> wondering is, is it possible to do a descending sort on the primary sort
> of rank, but do an ascending sort on the secondary sort of size?

I think so.

http://swish-e.org/current/docs/SWISH-RUN.html#Searching_Command_Line_Arguments
 
  sort descending by title, ascending by name

    -s title desc name asc

-- 
Bill Moseley
moseley@hank.org
Received on Thu Jun 5 14:46:35 2003