search for: mandriola

Displaying 1 result from an estimated 1 matches for "mandriola".

2007 Feb 09
1
[AAF] Determine matching field in a search result
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-...