feat(search): rank titles and filter by kind #274

Merged
naps62-yolo merged 1 commits from claude/search-filtering-relevance-1c85aa into main 2026-09-20 18:12:38 +01:00
Owner

TMDB answers movies and series on separate endpoints; concatenating them put every loosely-matching film above the series. dexter buried Dexter and Dexter: Resurrection under twenty Dexter Gordon recordings.

Both halves are now ranked together — title match tier first, TMDB popularity second — and punctuation is dropped from both sides, so dexter resurrection matches Dexter: Resurrection exactly. The library half is ranked the same way instead of alphabetically.

The deck also carries an all/movies/series filter with live counts. When a kind is empty the status line says no series match — 9 movies do, so a filter never reads as a failed search.

just ci green: 815 tests, clippy clean, tsc clean.

TMDB answers movies and series on separate endpoints; concatenating them put every loosely-matching film above the series. `dexter` buried Dexter and Dexter: Resurrection under twenty Dexter Gordon recordings. Both halves are now ranked together — title match tier first, TMDB popularity second — and punctuation is dropped from both sides, so `dexter resurrection` matches *Dexter: Resurrection* exactly. The library half is ranked the same way instead of alphabetically. The deck also carries an all/movies/series filter with live counts. When a kind is empty the status line says `no series match — 9 movies do`, so a filter never reads as a failed search. `just ci` green: 815 tests, clippy clean, tsc clean.
naps62-yolo added 1 commit 2026-09-20 18:12:31 +01:00
feat(search): rank titles and filter by kind
ci / web (pull_request) Successful in 49s
e2e / e2e (pull_request) Failing after 1m23s
ci / rust (pull_request) Successful in 2m43s
ci / image (pull_request) Skipped
c95a047b87
TMDB answers movies and series on separate endpoints; concatenating them
put every loosely-matching film above the series. "dexter" buried Dexter
and Dexter: Resurrection under twenty Dexter Gordon recordings. Both
halves are now ranked together — title match first, TMDB popularity
second — and the deck carries an all/movies/series filter with counts.

Co-Authored-By: Claude <noreply@anthropic.com>
naps62-yolo merged commit dab3c06dd7 into main 2026-09-20 18:12:38 +01:00
naps62-yolo deleted branch claude/search-filtering-relevance-1c85aa 2026-09-20 18:12:38 +01:00
Sign in to join this conversation.