Skip to content

Makes fuzzy search case insensitive#12849

Merged
kmcgrady merged 2 commits intodevelopfrom
fix/fuzzy-search
Oct 22, 2025
Merged

Makes fuzzy search case insensitive#12849
kmcgrady merged 2 commits intodevelopfrom
fix/fuzzy-search

Conversation

@kmcgrady
Copy link
Copy Markdown
Collaborator

@kmcgrady kmcgrady commented Oct 22, 2025

Describe your changes

When working on #11309, I was working to provide more predictable case sensitive search. It works in some cases (where the case sensitive should come before a case insensitive), but it made fuzzy searching across other instances worse (See #11724) In the end, we will go for case insensitive search, because that's a little more intuitive as users type and will be less great from a case sensitivity.

I think the scoring could be better in that case insensitive can be slightly behind a case sensitive match, but that's a much tougher problem to solve. This will alleviate user's concerns

GitHub Issue Link (if applicable)

closes #11724

Testing Plan

  • Added a unit test based on the issue's use case

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@kmcgrady kmcgrady added security-assessment-completed change:bugfix PR contains bug fix implementation impact:users PR changes affect end users labels Oct 22, 2025
@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Oct 22, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 22, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12849/streamlit-1.50.0-py3-none-any.whl
📦 @streamlit/component-v2-lib Download from artifacts
🕹️ Preview app pr-12849.streamlit.app (☁️ Deploy here if not accessible)

Copy link
Copy Markdown
Collaborator

@sfc-gh-lwilby sfc-gh-lwilby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kmcgrady kmcgrady merged commit ab83592 into develop Oct 22, 2025
37 checks passed
@kmcgrady kmcgrady deleted the fix/fuzzy-search branch October 22, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

selectbox and multiselect are case sensitive without any option to set them to case insesitive

2 participants