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.

The reason I found this is that a previous project that is in
production won't fail, but it uses multi_search instead of
find_by_contents like I'm using now.

Thanks,

Doug
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to