Joseph Norris wrote on 6/26/12 9:01 PM:
> Thank you for responding Peter,
> With in the set_sort method can I set my title and name? - I see
> swishdocpath etc.. but I do not know if this refers to the fields that I
> need to sort.
You can sort on any PropertyName. E.g.:
$searcher->set_sort('mytitle ASC mydesc DESC mydate ASC');
experiment with the swish-e command line -s option to see how it works.
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Users mailing list
Received on Wed Jun 27 2012 - 02:06:18 GMT