Skip to content

[Feature Request] Improve Search to Ignore Punctuation/Dots in Filenames #2868

@gfolgert

Description

@gfolgert

Description
The current search functionality requires exact character matching, which causes searches to fail when filenames use common delimiters (like periods or underscores) instead of spaces.

  • When users type standard queries with spaces (e.g., "Blade Runner"), the system cannot locate files that follow standard media naming conventions (e.g., "Blade.Runner").
  • This creates friction, as users must guess the exact punctuation used in the filename or rely on external workarounds to find their media.

Expected behaviour
When submitting a search query with spaces, the search engine should ignore common delimiters in the filenames and return the matching files. For example, a search for Blade Runner should successfully find and display Blade.Runner.mkv, Blade_Runner, and Blade-Runner.

What is happening instead?
The search engine processes the query as a strict string match. Because the space character in the query does not perfectly match the period or underscore in the filename, zero results are returned.

Additional context

  • Many self-hosted media collections are managed by automation tools (like Radarr or Sonarr) or downloaded using standard release naming conventions, which heavily utilize periods or underscores instead of spaces.
  • Implementing a simple "punctuation normalization" (converting dots/underscores to spaces before comparing) or "tokenized search" (splitting the filename into searchable words) would completely resolve this issue and vastly improve the user experience.

How to reproduce?

  1. Create a new folder or dummy file named Blade.Runner
  2. Navigate to the file browser's search bar.
  3. Type the query: "Blade Runner" and hit search.
  4. Observe that the search returns 0 matches.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions