On Fri, Dec 01, 2006 at 10:46:23AM +0100, Corné Verbruggen wrote:
> Hi all,
> 
> using ferret 0.10.13 and aaf trunk, i cannot get more_like_this to work.
> I read other posts on this forum related to that, but that did not solve
> it.
> 
> I have a model Question with a field question_text. I do:
> 
> -----------------------------------------------
> >> q = Question.find(:first)
> 
> >> q.more_like_this

you'll have to give an array of field names to use for the similarity
search:

q.more_like_this :field_names => [ :question_text ]

Jens

-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to