how to get all index information on Acts_As_Ferret, like @index=User.find(:all) on rails. I looked around ActsAsFerret::ClassMethods, and didn''t find it..please help me! Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Oct 15, 3:53 pm, OnRails <zzz...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> how to get all index information on Acts_As_Ferret, like > @index=User.find(:all) on rails. I looked around > ActsAsFerret::ClassMethods, > and didn''t find it..please help me! Thanks!if you want to look in the index, use the index browser: http://rubyforge.org/pipermail/ferret-talk/2007-April/003007.html If you want to do an empty query (return all indexed records), i was wondering the same thing, since they were talking in a_a_solr list: http://groups.google.com/group/acts_as_solr/browse_frm/thread/413b29b5a744420b# --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Oct 15, 3:53 pm, OnRails <zzz...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> how to get all index information on Acts_As_Ferret, like > @index=User.find(:all) on rails. I looked around > ActsAsFerret::ClassMethods, > and didn''t find it..please help me! Thanks!what happens when you do Model.find_by_contents("*", {:limit => :all}) not sure that''s the right syntax, but i don''t have a linux box with me to test. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---