He all, who can recommend me search engine(search for different models) for my web-site? ps: i know about ferret for example, but maybe there are some others? Thank you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> who can recommend me search engine(search for different models) for my > web-site? > > ps: i know about ferret for example, but maybe there are some others?There''s also solr or solar or something along those lines :) I recently setup ferret and it''s worked great. -philip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Igor K. wrote:> ps: i know about ferret for example, but maybe there are some others?I''ve had trouble with ferret and mongrel in the past, lots of segmentation faults knocking over mongrel. It''s fine if you are using another server though. See here: http://ferret.davebalmain.com/trac/ticket/192 I''m currently working on a no-config, no-dependencies indexed search plugin for rails. Hoping to do an 1.0 release in the next few days. Cheers. Douglas F Shearer dougal.s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://douglasfshearer.com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
The three most popular ones are: ferret (port of lucene) solr (really is lucene) sphinx For sphinx, you''ll want to look at http://seattlerb.org/Sphincter which is the "Sphincter" plugin. Don''t ask me, I didn''t name it :). Here''s an article on the acts_as_ferret plugin: http:// www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial Here''s the acts_as_ferret Trac page: http://projects.jkraemer.net/ acts_as_ferret/wiki For solr, check out acts_as_solr: http://acts-as-solr.rubyforge.org/ Each has its strengths and weaknesses. YMMV. Good luck! On Aug 29, 2007, at 11:23 AM, Igor K. wrote:> > He all, > > who can recommend me search engine(search for different models) for my > web-site? > > ps: i know about ferret for example, but maybe there are some others? > > Thank you > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I have used ferret for sometime now. It does need reindexing and if u have a ferret server running it can save you those mongrel stalling errors.. But its not that bad ..so answering your question recomendation :ferret On Aug 30, 4:23 am, "Igor K." <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> He all, > > who can recommend me search engine(search for different models) for my > web-site? > > ps: i know about ferret for example, but maybe there are some others? > > Thank you > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Wait wait guys, you''re forgetting ngnix of searching ! http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html On 8/30/07, Jet <abhijatmahajan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I have used ferret for sometime now. It does need reindexing and if u > have a ferret server running it can save you those mongrel stalling > errors.. > But its not that bad ..so answering your question > recomendation :ferret > > On Aug 30, 4:23 am, "Igor K." <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > He all, > > > > who can recommend me search engine(search for different models) for my > > web-site? > > > > ps: i know about ferret for example, but maybe there are some others? > > > > Thank you > > -- > > Posted viahttp://www.ruby-forum.com/. > > > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Pratik Naik wrote:> Wait wait guys, you''re forgetting ngnix of searching ! > > http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html >I need a search engine that support searching by part of word, for example a have a model Person: name = Joahn, age = 5 name = Joan, age = 7 name = Firk, age = 8 name = Kaka, age = 2 and for example i need to search all persons that name start''s with "Joa" like make a dir command Joa* :) and return 2 models with names Joahn and Joan Thank you all for your reply -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> I need a search engine that support searching by part of word, > for example a have a model Person: > name = Joahn, age = 5 > name = Joan, age = 7 > name = Firk, age = 8 > name = Kaka, age = 2 > > and for example i need to search all persons that name start''s with > "Joa" > > like make a dir command Joa* :) > > and return 2 models with names Joahn and Joan > > Thank you all for your replyNobody knows? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 Aug 31, 2007, at 5:48 PM, Igor K. wrote:>> I need a search engine that support searching by part of word, >> for example a have a model Person: >> name = Joahn, age = 5 >> name = Joan, age = 7 >> name = Firk, age = 8 >> name = Kaka, age = 2 >> >> and for example i need to search all persons that name start''s with >> "Joa" >> >> like make a dir command Joa* :) >> >> and return 2 models with names Joahn and Joan >> >> Thank you all for your reply > > Nobody knows? > -- > Posted via http://www.ruby-forum.com/.No, it''s that everyone who''s taken the time to read the documentation for ActiveRecord::Base or worked through any of examples in the many Rails books already knows. Here''s a freebie: Person.find(:all, :conditions => [ ''name LIKE ?'', ''Joa%'' ]) Now please read the documentation. -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> > No, it''s that everyone who''s taken the time to read the documentation > for ActiveRecord::Base or worked through any of examples in the many > Rails books already knows. > > Here''s a freebie: > > Person.find(:all, :conditions => [ ''name LIKE ?'', ''Joa%'' ]) > > Now please read the documentation. >I know this! But id does not work with UTF8! For example with russian lanquage. With english it''s perfect! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
SQL does not support character expansion on LIKE queries so f.e. "WHERE name LIKE oev%" will not match on "OEuvre" while "WHERE name oeuvre" will. This is normal SQL behavior. Otherwise it shouldn''t matter what encoding you use and indeed "WHERE name LIKE ''%t%" should also match on "ţ" (with character set utf8 at least). Rein On Sep 3, 2:44 am, "Igor K." <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > No, it''s that everyone who''s taken the time to read the documentation > > for ActiveRecord::Base or worked through any of examples in the many > > Rails books already knows. > > > Here''s a freebie: > > > Person.find(:all, :conditions => [ ''name LIKE ?'', ''Joa%'' ]) > > > Now please read the documentation. > > I know this! > > But id does not work with UTF8! For example with russian lanquage. With > english it''s perfect! > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rein Henrichs wrote:> SQL does not support character expansion on LIKE queries so f.e. > "WHERE name LIKE oev%" will not match on "OEuvre" while "WHERE name > oeuvre" will. This is normal SQL behavior. Otherwise it shouldn''t > matter what encoding you use and indeed "WHERE name LIKE ''%t%" should > also match on "ţ" (with character set utf8 at least). > > ReinBut it doesnt match upper and downcase symbols. My problem is that i need a solution for searching - search engine. i will have up to 10000(i think maximum) records in database. I choose 2 candidates for this role: 1) ferret + acts_as_ferret 2) acts_as_fulltext_indexed First one can''t work with UTF-8, i can''t normally configure it, if somebody have time please check attachment. with second - i did it, i can use acts_as_fulltext_indexed for searching objects ignore case, but in forums i read that its slow for large amount records. i don''t know what to choose, i still believe that ferret will work with UTF8(i need russian language support) Thanks Attachments: http://www.ruby-forum.com/attachment/213/ferrettest2.rar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Great Post.I like the link.Now expecting some good ideas from your upcoming post http://www.dealsourcedirect.com/ion-tape2pc.html -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.