searching for Comparison Search

J

John Mcleod

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
 
A

Aldric Giacomoni

John said:
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
;-)
 
J

John Mcleod

I have been informed that the production database will be Oracle. That
eliminates Spinx.
I've heard and read that ferret is hard to work with.
Currently, I've been playing with Searchlogic but since I'm still new at
this, I'm look for experienced advice.

J
 
H

Hassan Schroeder

I have been informed that the production database will be Oracle.

You have my sympathies. :)

Meanwhile, you might want to look into acts_as_solr.

FWIW,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top