[Ferret-talk] Two Shared Indices(sp?) in aaf.rb file (for Acts_as_ferret)

Philip Ingram philip at prettybycritty.com
Sun Feb 1 10:49:05 EST 2009


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?


More information about the Ferret-talk mailing list