Hi guys
I’m a beginner with ferret and I try to write a little searchengine.
Now, how can I show the score values of the ferret sort?
------- Word Model --------
class Word < ActiveRecord::Base
acts_as_ferret :fields => {
:site => { :boost => 20},
:text => {:boost => 10},
:meta => {:boost => 4}
}
end
------- Word Controller -------
@results = Word.find_by_contents(query, :limit => :all)