From: Aldric Giacomoni Date: 2009-12-16T05:51:57+09:00 Subject: Re: searching for Comparison Search John Mcleod wrote: > Hello all, > Please bear with me. I'm work on my third month with Ruby on Rails. > > I'm looking to find or create a comparison search. It must take a small > paragraph and search another model column of the same name and return > only if the match is near 50% matching. > > Any ideas? > > I have found a matching gem called "amatch". This has several methods > that I believe will help. They'll return a percentage of the match. > > I'm posting this to the Ruby discussion in hope someone may have worked > with this topic before. > > Thank you for any help. > > JohnM Text searches in databases usually get married with indexes, because they spend so much time together. As far as Rails solutions go, you can try ferret or sphinx, for instance.. I think this should get you started ;-) -- Posted via http://www.ruby-forum.com/.