Duplicate Detection
Fuzzy matching using Levenshtein distance to find near-duplicates.
How It Works#
Our duplicate detection uses the Levenshtein distance algorithm to calculate similarity between text values. This catches variations that exact matching misses:
"John Smith"
vs "John Smth"
"ABC Company"
vs "ABC Company Inc"
"123 Main St"
vs "123 Main Street"
Configuration#
Similarity Threshold
Set the minimum similarity percentage (0-100%) for records to be considered duplicates. Default is 85%.
Column Weights
Prioritize certain columns when calculating overall similarity:
| Priority | Column Patterns | Weight |
|---|---|---|
| High | name, title, company, email | 1.0 |
| Medium | address, phone, city, url | 0.75 |
| Low | Everything else | 0.5 |
Merge Strategies#
When duplicates are found, choose how to combine them:
firstKeep the first non-empty value
Best for data where earlier records are more authoritative
longestKeep the longest value
Best for fields where more detail is better (descriptions, addresses)
most_completePrefer non-empty, then longest
Best general-purpose option for most datasets