Hi,

I'm not sure if this is what you're trying, but having the same model belong to two or more index is impossible with acts_as_ferret.

Cheers,
Jens

On 01.02.2009, at 16:49, Philip Ingram wrote:

Hi all,

I'm trying to add two shared indices to the aaf.rb file, however it is not working. I currently have one shared index, but that index has a condition on it, and i'm not sure how to go about creating another index without this condition in it for my forum, which i want to search only the forum, topics and messages.

Within aaf.rb i tried to comma separate thecode: eg.g

ActsAsFerret::define_index ('one'....), ActsAsFerret::define_index ('two'....)

To no avail.

I also tried to add another aaf2.rb file to the original call when aaf.rb, and include both of these files when aaf.rb is loaded but no dice either.

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


--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49351467660 | Telefax +493514676666
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold



Attachment: PGP.sig
Description: This is a digitally signed message part

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

Reply via email to