Benjamin Krause wrote:

> 
> did you try SortField.new(:score, :type => float, :reverse => true) ?
> 
> the score-sorting and the ferret_score should be the same ..
> 
> Ben


that produces an error, first for the 'float' portion, then it says

Cannot sort by field "score". It doesn't exist in the index.

maybe i'm missing something in the Model..  but if i just put

result.ferret_score, that works just fine..  thanks for your help :-)

jon

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to