Partial Name Candidate Searcher
Searches for partial name matches (e.g., "Holmes" matches "Sherlock Holmes").
Returns a confident match only if exactly 1 candidate has a partial name match. The shorter name must be at least minPartLength characters to avoid false positives.
Examples:
"Holmes" matches "Sherlock Holmes"
"Brahms" matches "Johannes Brahms"
"Doe" does NOT match "John Doe" (too short with default minPartLength=4)
Parameters
The repository for text search
Minimum length for partial match
Maximum candidates to retrieve
Minimum similarity score for text search
Properties
Which ResolutionLevel a confident hit from this searcher counts as, for the per-level telemetry EscalatingEntityResolver logs. Each searcher declares its own tier so the counts stay accurate whatever the chain's length or order. Defaults to ResolutionLevel.HEURISTIC_MATCH; exact-lookup searchers report ResolutionLevel.EXACT_MATCH and vector search reports ResolutionLevel.EMBEDDING_MATCH.
Functions
Search for candidates matching the suggested entity.