Skip to content

Split release titles on underscores when matching search queries - #63

Merged
JeremiahM37 merged 3 commits into
JeremiahM37:mainfrom
chriscamicas:fix/title-relevant-underscores
Oct 4, 2026
Merged

JeremiahM37 merged 3 commits into
JeremiahM37:mainfrom
chriscamicas:fix/title-relevant-underscores

Conversation

@chriscamicas

@chriscamicas chriscamicas commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Treat underscores as word separators so matching releases survive search filtering and receive the correct title score. Adds regression coverage for queries, filtering, deduplication, and scoring.

Validation: verify 3/3 (42 browser tests), full Go race suite, go vet, and all CI jobs green.

chriscamicas and others added 3 commits October 4, 2026 10:41
wordRe used `\w+`, and `\w` includes `_`, so an underscore-separated
release name such as Title_Name_v1.0-GROUP became a single token.
TitleRelevant then found no word in common with the query and
FilterGameResults dropped the result, even though the indexer returned
it. Match ASCII letters and digits only, which keeps the previous
behaviour for every other character.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JeremiahM37
JeremiahM37 merged commit bcf7ddd into JeremiahM37:main Oct 4, 2026
3 checks passed
@chriscamicas
chriscamicas deleted the fix/title-relevant-underscores branch October 4, 2026 19:18
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