Integrating Rdig and acts_as_ferret

B

Bira

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.
 
B

Bira

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,219
Messages
2,571,117
Members
47,728
Latest member
BiancaBedg

Latest Threads

Top