[Ferret-talk] Two Shared Indices(sp?) in aaf.rb file (for Acts_as_ferret)
Jens Krämer
kraemer at webit.de
Sun Feb 1 13:16:53 EST 2009
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
> Ferret-talk at rubyforge.org
> 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
kraemer at webit.de | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://rubyforge.org/pipermail/ferret-talk/attachments/20090201/df8c770e/attachment.bin>
More information about the Ferret-talk
mailing list