On Tue, Jul 03, 2007 at 11:34:47AM -0700, Doug Smith wrote:
> On 7/3/07, Doug Smith <[EMAIL PROTECTED]> wrote:
> > Ok, I wrote a test script, and between every test I stopped apache,
> > mongrel, ferret, and deleted the indexes to make sure each one was
> > clean.  Here are the results:
> >
> > With DRb, 3 mongrels => fails
> > With DRb, 2 mongrels => fails
> > With DRb, 1 mongrel => passes
> > Without DRb, 3 mongrels => passes
> 
> And one more factor:
> 
> If I change this line in my controller from this:
> 
>       results = Article.find_by_contents(q, options)
> 
> to this:
> 
>       results = Article.multi_search(q, [], options)
> 
> It never fails, always passes under all conditions.

ok, I guess now it's up to me to find the bug ;-)
Using multi_search as a workaround should have no side effects.
I filed a ticket so I won't forget -
http://projects.jkraemer.net/acts_as_ferret/ticket/151

Jens

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to