Skip to content

fix: optimize number search#294

Merged
mbgonicus merged 2 commits into
mainfrom
fix/number-search
Jan 12, 2026
Merged

fix: optimize number search#294
mbgonicus merged 2 commits into
mainfrom
fix/number-search

Conversation

@cajus
Copy link
Copy Markdown
Member

@cajus cajus commented Jan 12, 2026

Searching for pure numbers should not use the distance check.

cajus added 2 commits January 12, 2026 14:53
If we have numbers entered in the search field, it makes no sense
to use the jaro winkler distance, as most numbers contain some of
the entered ones in some order. Do a perfect match here, and
be more relaxed when the input starts with 0/+.
@mbgonicus mbgonicus merged commit 26681e0 into main Jan 12, 2026
13 checks passed
@mbgonicus mbgonicus deleted the fix/number-search branch January 12, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants