You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search available TV episodes by title and overview #396
Catalog search only indexes and queries media_items, while TV episodes live in episodes. As a result, global search and type=episode search return no result for episode titles such as Who Are You? (Silo S03E01). The web catalog also collapses an explicit All Media selection back to Movies & Series, which excludes episodes from subsequent searches.
Expected behavior
Global and episode-scoped search return available TV episodes by episode title and overview.
PostgreSQL and Meilisearch providers preserve access controls and stable ranking.
Episode search remains bounded and index-backed for catalogs with hundreds of thousands of episodes.
Selecting All Media remains explicit while the user edits the search query.
Scope
Add a mixed media-item/episode search path, episode-aware Meilisearch documents and authorization hydration, incremental indexing triggers, concurrent PostgreSQL indexes, and regression coverage for both providers and the web filter state.
AI-use disclosure: issue drafted with Codex from a reproduced user report; reviewed and filed by @Rhainland.
This looks implemented on main — #397 ("feat(search): add TV episode search support") merged 2026-07-23 without closing keywords, so the issue stayed open.
Checked against main at 820eef77, against the stated scope:
Episode-aware Meilisearch documents and hydration — internal/catalog/search_meilisearch_provider.go and search_meilisearch_client.go were both part of feat(search): add TV episode search support #397, so the second provider is covered rather than Postgres only.
Index-backed and bounded — migrations/sql/20260713233000_episode_search_indexes.sql.
Regression coverage for both providers — internal/catalog/search_episode_db_test.go and the meilisearch client tests. go test ./internal/catalog/ -run Episode passes here against PostgreSQL 18.
Two things I could not confirm from a static check, worth a glance before closing:
The original repro — searching Who Are You? (Silo S03E01) actually returning the episode — needs a populated library; I only verified the code paths and tests, not that specific query.
The last scope bullet is a web-side behavior ("Selecting All Media remains explicit while the user edits the search query"), and I did not verify the catalog filter no longer collapses All Media back to Movies & Series. If that half is still outstanding it may be worth splitting out rather than closing this wholesale.
Available episodes are included in PostgreSQL and Meilisearch search, with episode indexes, outbox updates, access-aware hydration, and mixed-result ranking. Explicit All Media scope is preserved while the query changes.
Verified the current search implementation and the All Media regression coverage. The merged PR records PostgreSQL, Meilisearch, and web search validation.
Closing as completed after checking current main (a4c8f4b2).
Activity
feat(search): add scalable TV episode search
Tobechukwu-Njoku commentedon Aug 24, 2026
This looks implemented on
main— #397 ("feat(search): add TV episode search support") merged 2026-07-23 without closing keywords, so the issue stayed open.Checked against
mainat820eef77, against the stated scope:internal/catalog/search_postgres_mixed.go.internal/catalog/search_meilisearch_provider.goandsearch_meilisearch_client.gowere both part of feat(search): add TV episode search support #397, so the second provider is covered rather than Postgres only.migrations/sql/20260713233100_episode_search_outbox_triggers.sql.migrations/sql/20260713233000_episode_search_indexes.sql.internal/catalog/search_episode_db_test.goand the meilisearch client tests.go test ./internal/catalog/ -run Episodepasses here against PostgreSQL 18.Two things I could not confirm from a static check, worth a glance before closing:
Quick104 commentedon Sep 4, 2026
Fixed on main by #397.
Available episodes are included in PostgreSQL and Meilisearch search, with episode indexes, outbox updates, access-aware hydration, and mixed-result ranking. Explicit All Media scope is preserved while the query changes.
Verified the current search implementation and the All Media regression coverage. The merged PR records PostgreSQL, Meilisearch, and web search validation.
Closing as completed after checking current main (
a4c8f4b2).