Integrating Rdig and acts_as_ferret

Hello to the nice people of ruby-talk :). I have a question that
involves Rails, but I believe it has enough “pure Ruby” in it to be
worth asking here. If I’m wrong about that, please say so.

Is it possible to use both Rdig and acts_as_ferret to build and search
the same index? I got them to write to the same index, but a search
with Rdig’s API for something that was added by the other indexer
returns a bunch of empty results. My guess is the other indexer isn’t
writting the correct fields to the index. Does anyone have any idea of
how to integrate the two?

I Googled around for an answer to this, in addition to doing my own
investigations, but I couldn’t find anything.

On 2/1/07, Bira [email protected] wrote:

Is it possible to use both Rdig and acts_as_ferret to build and search
the same index?

Answerring my own question, I managed to get them to work together by
making two separate searches on the background, one on each index, and
presenting them to the user as if it was a single unified search.