-----BEGIN PGP SIGNED MESSAGE-----
I have the following Problem:
I created a fairly simple sample project to try out acts_as_ferret and
present the results.
The test set is relatively easy: I have extracts from 6
Wikipedia-Articles about several Topics, which are copied into a model
that has two fields: title and text. This works quite well, until I try
to use #more_like_this, which returns all of the other articles, even if
they have nothing to do with the active article. I debugged a bit and
found out that the query build by #more_like_this is nothing more then
(so the result is correct)
To try that out on the console, I used:
entry = Entry.find(1)
entry.more_like_this(:field_names => [‘text’])
Either I’m doing something entirely wrong or there is a bug. Before
filing a ticket, I want to rule out the first case.
Ferret version is 0.11.4, aaf version is the current stable version
(although trunk didn’t work as well).
I uploaded the demo project together with a dump of the Database to:
Thanks in advance.
P.S.: There is another minor bug. Altough #more_like_this does set a
default option for :field_names (line #35), this option leads to a crash
in #retrieve_terms. The default option is nil and #retrieve_terms thus
tries to call #each on nil. (line #113)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----