On May 21, 2007, at 21:24, Jon Druse wrote:

>> try SCORE_REV instead of SCORE [1] .. :-)
>>
>> Ben
>>
>> [1] http://ferret.davebalmain.com/api/classes/Ferret/Search/
>> SortField.html
>
> I tried that and seemed not to have any effect.  does
> Ferret::Search::SortField::SCORE reference the same thing as
> result.ferret_score ?

that might be a bug.. ? i never tried SCORE_REV ...

did you try SortField.new(:score, :type => float, :reverse => true) ?

the score-sorting and the ferret_score should be the same ..

Ben

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to