I was wondering if it was possible to determine which field caused the
match to occur (or contributed the most to the score) in a search
result.

For example, if I had a record

{ :name => 'pumpkin', :age => -5, :address => 'Via Mandriola' }

and I did a search for 'Mandriola', is it possible for acts_as_ferret to
tell me that the match actually came from the :address field? In some
cases there will be several matching fields, but I feel it should be
possible.

Thank you :)

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

Reply via email to