Hi I think this is a very easy question but here goes:

I want to sort my results by a boolean field and then by score, I 
thought this would be a default configuration but apparently not.

sort_fields = []
sort_fields << Ferret::Search::SortField.new(:sponsored, :reverse => 
:true)

that is my current code, how do iu alter it so that the results are then 
sorted by highest score first?

thanks very much.
regards

caspar


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

Reply via email to