Skip to main content.
home | support | download

Back to List Archive

Re: Multiple indexes

From: Steve Thomas <stephen.thomas(at)not-real.adelaide.edu.au>
Date: Thu Mar 16 2000 - 23:57:25 GMT
David Norris wrote:
> 
> > Another option would be to merge all the indices into a single index.
> > This can be done with the -M flag.
> 
> This certainly would be the only way to get (swish-e) sorted results for
> the entire site. 

Actually, you can just sort the results returned -- e.g.

swish-e -f index1 index2 ... -w terms | sort -nr -k1

That will sort by the ranking score, in reverse numerical order.

You can also sort by title this way -- using "sort -k3".

[sort options vary slightly on different systems -- the above is OK for
Digital Unix.]


Steve

Received on Thu Mar 16 18:57:57 2000