logo       

Re: Search multiple models: msg#00125

lang.ruby.ferret.general

Subject: Re: Search multiple models

Hi all,

just started to play with (acts_as_)ferret a couple of hours ago, when I
learned that ferret supports fuzzy search.

I could not find an answer to the problem i need to solve yet:

I have a few models with one to many relations to Clients: Addresses,
Contacts, Phone numbers, etc.

i.e. a client may have many addresses and so on.

I need to match a "flat" (each attribute only once) client record
against all the models attributes mentioned above and get a list of
clients with descending probability of being a duplicate.

Is this possible? Which options should I use to save memory and
performance?

Thanks in advance! - Bernd

--
Posted via http://www.ruby-forum.com/.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise