[Bug] Games do not show up in search if more than 2 letters are used.

Open
#5,853 7 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@andest01 is already working on this.

Since Dec 3, 2026.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend, search

Research direction

Start by tracing the game-search request and the metadata update path, especially the filename update described in the report. Reproduce with a game named around “Super Mario Bros.” and compare search results for “mario” versus “ma”; done means the full title is returned after the metadata is added or updated, with regression coverage for searches longer than two characters.

Written by the indexing model from the issue text.

Description

RomM version
5.4.1

Describe the bug
Games do not show up in search if more than 2 letters are used.

To Reproduce
Happens when adding a new rom/game or when updating the metadata of an existing game. UPDATE Seems like updating the file name is the most consistent method to reproducing the bug.

Example, I recently updated "Super Mario Bros. (Crystal Screen) (New Wide Screen) (World)" Game-n-Watch rom metadata.
When I search again using "mario" in the Game-n-Watch platform the Super Mario Bros Game-n-Watch rom does not show up.
Only when searching with no more that 2 letters, example: "ma" or "ri" or "io" does the game show up.

This is not limited to Game-n-Watch ROMs, it is just the most recent instance.
Most of my GOG games are affected by this.

Expected behavior
All games show up when searched with name. Example: all Mario games should show up when I search "mario"

Screenshots
firefox_OO3DwWTbyS
firefox_pCo7I4NV2h

firefox_igUal0hYgX

Server (please complete the following information):

  • OS: Ubuntu
  • Version 24.04.5

Client (please complete the following information):

  • Device: Multiple (PC, Android) assumed this affects all devices
  • OS: Tested on Windows 11 and 10, Android 17,
  • Browser: Firefox so far
  • Version 161.0

Additional context
Does not happen 100% of the time and I do have ALOT of ROMs and games on the server.

Dominant language
Python
Stars
13.3k
Forks
747
Avg merge
20h 58m
Merged PRs (30d)
207

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rommapp/romm

All issues in rommapp/romm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.