> sort_fields << Ferret::Search::SortField::SCORE
> sort = Ferret::Search::Sort.new(sort_fields)
>
> You can pass the array of SortFields as the :sort parameter or even a
> sort string ("sponsored DESC, SCORE").
maybe i'm just a total noob, but where can i put this?
here's my search mothod ...
@results = Record.multi_search(params[:search_terms], [ Link, Post
], {:limit => :all})
hope that makes any sense :-)
Jon
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk