On 2/22/07, Henrik Zagerholm <[EMAIL PROTECTED]> wrote:

Hello list,

I wonder if someone has some tips on joining a ferret search with a
database.

I have a rails project using a postgresql backend and I would like to
utilize the superb performance of ferret for fulltext searching.
The problem is that I have to joined the result with the database as
I have some user access rights to different documents to take into
account.

Does anyone have any ideas how to do this easily?

MAybe a cool stored procedure in PGSQL that can utilize the ferret
index :D


Use acts_as_ferret [1], then either put the access rights stuff in the
index, or post process the results from AAF.

-ryan
1. http://projects.jkraemer.net/acts_as_ferret/wiki
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to