If you have ever shipped a search feature, you already know the uncomfortable truth: users type queries that don't match your database. That truth gets sharper when the query is a personal name like carlos d'ambrosio. Searching for a person isn't the same as searching for a product SKU. Names are messy - culturally varied, legally inconsistent, and frequently typed with the wrong punctuation. The harder problem is never returning a list of results it's deciding which records in that list refer to the same human being.
The hardest part of building a people-search platform is not the ranking algorithm-it is deciding whether two "Carlos D'Ambrosio" Records describe the same human being. That single sentence explains why entity resolution, access control. And observability matter more than the search box itself. A query like "carlos d'ambrosio" is a useful test case because it forces engineers to confront three failures at once: lexical normalization, ambiguous identity, and the privacy boundary between public data and inferred data. This article walks through the systems work behind that query, from Unicode handling to compliance automation, using production patterns rather than marketing abstractions.
I am not writing this because "carlos d'ambrosio" is a known public figure, and the value is precisely the oppositeWhen a name isn't globally unique, your platform can't rely on a single authoritative ID. You have to build a pipeline that can explain why two records match, why they do not. And how confident your system is in either decision. That pipeline is the subject of this article.
Why Apostrophes Break Naive Identity Matching Systems
The first failure is lexical: the name carlos d'ambrosio contains an apostrophe. In ASCII, that character is U+0027. In many public records, official documents, PDF exports, and web pages, the same name appears with a right single quotation mark U+2019. Which looks nearly identical. If your database stores "D'Ambrosio"
.Need a Custom App Built?
Let's discuss your project and bring your ideas to life.
Contact Me Today โ