Is anyone successfully using acts_as_ferret with Ferret 0.11

Hi all,

I upgraded from Ferret 0.11.3 to Ferret 0.11.4 because I was getting
intermittent segfaults that seemed to be due to a bug which was fixed
(changeset 749).

Unfortunately, 0.11.4 + acts_as_ferret seems to be a bad combination.
I’m
getting the some “fs_store/File Not Found Error occured at
<except.c>:117”
which was reported in the “Constant 0.11.4 Errors” thread
[http://www.mail-archive.com/[email protected]/msg03136.html]
when
aaf tries to update the index after a record is saved.

My logs show that about 1400 fields were added to the Ferret indices
before I noticed the problem and I only got this error during the
concurrent updates (about 2% of all updates)

Does anyone have this combo working? Perhaps one of the people in the
original thread resolved the problem? I apologize for not doing more
research - I just want to make sure that this isn’t already solved
before
I go off and dig into it.

Thanks very much,
Casey

It’s working great for us. We just launched this site:
http://www.taftlaw.com. That site uses Ferret 0.11.4 on Ruby 1.8.6,
Rails
1.2.3, and acts_as_ferret with the DRb server.

Thanks,

Doug

On 6/6/07, Casey [email protected] wrote:

aaf tries to update the index after a record is saved.

How big is your index?


Kyle M.
Software Engineer
CastTV, Inc

On 6/6/07, Kyle M. [email protected] wrote:

How big is your index?

There are seven indexed models with a total size of 2.5M. There isn’t a
ton
of concurrent updating, though we’ve had some with no trouble yet.

Thanks,

Doug

On Wed, Jun 06, 2007 at 02:50:09PM -0400, Casey Forbes wrote:

Good to hear! Um. I’m running Ferret/aaf with a pack of Mongrels and no
DRb. I’m thinking that maybe that’s not the greatest idea. (I read too
much crap on the web and got worried about the performance of the aaf DRb
server.)

Please use the DRb server in Multi-Process-Scenarios, and start to worry
about it’s performance when you are sure it really is the DRb server
that slows your app down :wink:

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

Thanks! The Solr / aaf DRb server benchmarks look good to me - I
shouldn’t
have been worried. Also, I just noticed the “[187] Improved DRb server
index rebuild handling by keeping index versions” changeset - that looks
GREAT!

Casey

Good to hear! Um. I’m running Ferret/aaf with a pack of Mongrels and no
DRb. I’m thinking that maybe that’s not the greatest idea. (I read too
much crap on the web and got worried about the performance of the aaf
DRb
server.)

Also, someone asked about the size of my index. It’s small - 7 MB. I
love
Ferret - user contributed data is a big part of my site and I’d don’t
know
where I’d be if I didn’t have a good search engine to drive “Did you
mean?..” suggestions and help prevent duplication.

Casey