CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Duplicate matching exceptions
Pages: [1]

Author Topic: Duplicate matching exceptions  (Read 507 times)

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Duplicate matching exceptions
July 21, 2011, 10:03:25 am
I have 550,000 contacts in my database with external IDs. I already know that these are all unique as they are coming from an electors list from our electoral authority.

What I would like to do is import our membership, and successfully match as many of these members as possible with their existing contact info in the database. This is only about 2,000 contacts.

So I would like to search the 2,000 contacts (w/o external ids) AGAINST the 550,000 contacts (w/ external ids)  to look for duplicates. The problem I have is that I see no way to do this through the UI.

Is there a way to say that if two contacts have a certain field that is unique (in my case external ids), then there is no way they are duplicates regardless of what else matches?

Or is there a way to look for duplicates of one set against another set?

If not, would this be something we could look at doing in a future release? I would try to help out as much as I could.

Brian

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Duplicate matching exceptions
July 21, 2011, 12:28:23 pm

Quote from: bpmccain on July 21, 2011, 10:03:25 am
Is there a way to say that if two contacts have a certain field that is unique (in my case external ids), then there is no way they are duplicates regardless of what else matches?

dont think so

Quote from: bpmccain on July 21, 2011, 10:03:25 am
Or is there a way to look for duplicates of one set against another set?

No, but this would be quite useful to a few other orgs (with import etc). Would be great if you can write a module / extend civi to do so. Please publish your code if you go down this path (and maybe we can integrate it in a future version)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Duplicate matching exceptions

This forum was archived on 2017-11-26.