On Tue, Jan 02, 2007 at 08:49:26PM +0100, Scott Fortmann-roe wrote:
> Hi,
> 
> I have this maddening strange bug using acts_as_ferret. If I search for
> a given phrase (let's say "xyz") I get one set of results (lets call
> them set A). I search  for xyz again and I get set A again. I search for
> xyz a third time and I get a different set (set B).
> 
> I can keep executing the search query and my result sets continue to
> cycle a-a-b-a-a-b-a-a-b.
> 
> It's really strange. 'a' is the correct set of results, 'b' is related
> but contains some incorrect results too. I am using the fuzzy search
> algorithm by appending '~' to each word in the query executed with
> acts_as_ferrets find_by_contents. I am the only user of the server so
> nothing is being added to the index while I search. I am using rails
> 1.2RC1 the newest ferret and acts_as_ferret.
> 
> Any ides?

could you try to reproduce this behaviour with a plain ruby script only
using Ferret directly? I think it's a problem related to Ferret itself.

cheers,
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