NUMERIC Match
Extracts numbers from strings and compares how many are shared across both values. Built for street numbers, apartment numbers, and building numbers embedded in address strings.
What NUMERIC does
NUMERIC extracts all numbers from a string field value and scores the two values using Similarity functions - which gives a continuous score in [0, 1].
Numbers are extracted into a set, so a number repeated within one value is only counted once - "10 Main St, Apt 10" contributes the number 10 a single time, not twice.
This makes it useful for address fields where a number is embedded in a string - "42 Main St" and "42 Main Street" share the number 42, which NUMERIC extracts and matches. The alphabetic parts are not compared by NUMERIC - use ONLY_ALPHABETS_FUZZY or FUZZY for those.
Exception: every other match type in this reference treats a null/blank value as an automatic match. NUMERIC does not - a null or blank value extracts no numbers, so it has nothing to share with the other side and scores a deterministic non-match (0.0).
What NUMERIC matches and what it does not
42 Main St
42 Main Street
1.0 (Yes)
42 extracted from both
42B Main St
42 Main St
1.0 (Yes)
42 extracted from both - "B" isn't a digit, so it's dropped
42 Main St
43 Main St
0.0 (No)
{42} vs {43} share nothing
Suite 12, Floor 3
Suite 12, Floor 4
0.33
{12,3} vs {12,4} share one of three distinct numbers
10 Main St, Apt 10
10 Main St
1.0 (Yes)
"10" appears twice on the left but dedupes to the set {10}, same as the right side
[no numbers]
42 Main St
0.0 (No)
One side extracts no numbers, so there's nothing to intersect
[null]
42 Main St
0.0 (No)
The null-matches-anything default every other match type uses does not apply here
When to use NUMERIC
When not to use NUMERIC
Last updated
Was this helpful?