Hi,

in Acts_as_ferret, you can create shared index like this :

ActsAsFerret::define_index('shared',
 :models => {
   Person  => {:fields => [:first_name, :last_name, :phone, :bio]},
   Company => {:fields => [:name, :description]},
   Post    => {:fields => [:title, :body]}
 },
 :ferret   => {
   :default_fields =>
[:first_name, :last_name, :phone, :bio, :name, :description, :title, :body]
 }
)
more: http://opensoul.org/2008/4/29/using-shared-indexes-with-acts_as_ferret


Is there a way to do this whith thinking sphinx ?

thx

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to