Search¶
Horde uses a single search box in the top navigation bar, on every page, plus a separate channel-page search when a channel is open. There is no separate Search screen and no UI toggle for “semantic” vs “keyword” mode — hybrid ranking runs on the backend whenever library videos have embeddings.
Where to search¶
Type in the search field in the navigation bar, just left of your account button (on narrow screens, tap the search icon). Typing on any other page, or on a channel page, takes you to the Library home page with the results. Library and catalog results update as you type (debounced). A compact YT control inside the search box (and the same setting under Settings → Library) turns live YouTube results on or off. With it highlighted, YouTube itself is queried after you pause typing (or immediately if you press Enter). Search text is sent to YouTube.
Recent searches¶
Click or tap into the empty search box and your recent searches drop down under it, newest first: four show, and the list scrolls for the rest (up to 20 are kept). Pick one to search for it again, or press × beside it to take it off the list; the arrow keys move through the list too. A search is remembered when you press Enter, pick it from the list, or open a video from its results, not for every word typed on the way. The list is saved with your account (searchHistory), so it is the same on every device you sign in on and nobody else signing in sees it.
On a channel page, the box in the header searches that channel’s video list and downloaded library videos. A compact YT control inside that box (the same default as YouTube results in channel search) queries YouTube for extra matches from that channel only. Combined results follow the page’s Recent / Popular sort. That in-channel fallback is separate from YouTube results in library search in the main search bar.
Mixed results¶
By default the results are one list, best first: library matches (including videos found through their saved comments), catalog videos you can stream, moments from the captions of channels indexed for Ask and live YouTube hits, mixed. Every result is scored the same way, by how much of your query its title (most), channel, tags and description or caption text contain, with a bonus for the whole phrase. That score is weighted by source: your library counts most (and gets a fixed lead on top), then what indexed channels said, then catalog videos, then YouTube. A strong stream or YouTube match can still beat a weak library match. Being near the top of its own source adds a little, and a video whose captions also match gets a bonus.
A video appears once: when its captions match too, the moment (timestamp and the line, linking there) shows under its card. A downloaded video found only by what it says shows as the library copy. Caption hits on videos you do not have become cards you can stream or download.
YouTube answers a second or two after the rest, so its best four results have fixed places in the list (5th, 10th, 15th and 20th, or straight after the last result when there are fewer). Until they arrive those places hold a card that says Searching YouTube… with the app's loading mark. When they land, the cards around them stay where they are: further YouTube hits join at the end, and if YouTube has fewer than four new results, each empty place takes the last card of the list instead (empty places at the very end just go). The layout also holds while results reload (after a download finishes, a streamed video's card turns into its library card in the same place), and new results, such as More of what was said or YouTube's next page, are added at the end. A new search lays everything out afresh once your library, the catalogs and the captions have answered; until then the grid shows loading cards. Rest of your library (videos that did not match) follows, collapsed.
The Mixed / Sections switch beside the results changes the layout; your choice is saved with your account (searchLayout).
Result sections¶
With Sections, matches are grouped into up to five sections, in a fixed order. A row of chips above them shows each section's count (a pulsing dot while it is still searching); click one to jump to that section. On YouTube is shown whenever YouTube search is on and the query is at least two characters, so it never pops in later; its heading reads Searching… until the live results arrive. Empty sections keep a short message.
| Section | Meaning | Empty copy |
|---|---|---|
| In your library | Videos already downloaded / approved into your library, including videos found only through their saved comments (after the others) | Nothing in your library matches. |
| Said in videos | Moments in the captions of channels indexed for Ask that mention your words, grouped by video; each timestamp opens the video there. Shown once a channel has captions indexed; needs no AI | Nothing in the indexed captions mentions that. |
| Available to stream | Undownloaded hits from channel video lists (channels you’ve listed or downloaded from) | No matches in channel video lists. |
| On YouTube | Live YouTube video search (not limited to channels you already follow) | No other matches on YouTube. |
| Rest of your library | Downloaded library videos that did not match the query | No other videos in your library. |
Each section heading has a ▼ control to collapse or expand that group. On YouTube includes Load more at the bottom of the grid when another page of live hits is available.
Catalog rows come from the background channel video lists. You can stream a preview or queue a download without leaving search. On YouTube cards use the same feed layout (thumbnail, duration, channel, date, views, Download). Click a channel name to open that creator in Horde. Changing the typed query hides live hits until the new query settles (or you press Enter).
Live hits are not written into channel catalogs; opening or downloading a result starts listing its channel as usual.
Empty catalog section
If Available to stream always shows the empty message, catalogs may still be listing, disabled, or the channel hasn’t been opened/downloaded yet. See Channels and Library settings.
Hybrid search (backend)¶
When embeddings are ready, the API runs hybrid search: keyword matching combined with embedding similarity. The UI does not expose a semantic-only switch; one query drives both.
The embedding half embeds your query with the configured provider, which can cost money, so it only runs for accounts with the Use AI permission; other members get the keyword results (channel-catalog search follows the same rule). The server ranks a search once and keeps the ranking (and the query's embedding) for about two minutes, so paging through the results does not re-run the search or re-embed the query. Adding, editing or deleting a video, or changing embeddings, drops the saved rankings. Sorting by last watched is the exception: that order changes every time you watch something, so it is ranked afresh for each page (the query's embedding is still reused).
Keyword matching splits the query into tokens (ignoring small stopwords) and requires each token to appear as a whole word in the metadata — so paint fix matches I painted his House to Fix his WiFi, not only the contiguous phrase paint fix, but car does not match graphics card or carriers. Light stemming still treats paint / painted / painting as the same token (short words only add a plural, so car can match cars). Library home search and channel-page search share this matcher. Keyword lookups (hyprland, hyprland install guide) stay keyword-only. Embeddings run only for sentence-like queries that still contain stopwords (that episode about house wifi). Without an embedding provider / embeddings, search falls back to this keyword-style matching.
Channel page search¶
The channel header search:
- Matches tokens against indexed titles and descriptions (SQL, fast).
- Merges downloaded videos for that channel via the same library hybrid path (captions included when search indexes exist).
- Then looks for related catalog embeddings so natural-language phrasing can surface uploads that don’t share the same words.
- If the channel search YT control is on, queries YouTube’s in-channel search and adds videos that are not already on screen. Empty dates/views on local cards are filled from those hits when known. Approximate YouTube ages (
3 years ago) stay as that wording instead of a made-up calendar day; Recent sort still uses the approximate timestamp under the hood. The combined list is then sorted by Recent (publish date) or Popular (view count) using the controls at the top of the page. While that call is in flight, the feed shows a quiet Loading YouTube results… line.
Status copy shows Searching the video list…, then Finding related matches… while embeddings run, plus a match count when local results settle. If the catalog is still listing, the feed notes that results may be incomplete.
When a hit is not obvious from the title, a ? appears on the thumbnail. Hover (or tap) the ? for a short explanation: a description/tags/notes snippet, a caption quote on downloaded videos, a YouTube comment, “similar in meaning,” or “Found on YouTube” for extras from YouTube results in channel search.
What gets embedded¶
Embeddings are built from video metadata (title, channel, description, tags, notes) and, optionally, subtitle/caption text.
Control that in Settings → AI:
| Setting | Effect |
|---|---|
Use subtitles in embeddings (use_subtitles) |
Include caption text when building embeddings and related corpora |
Rebuild after changes
Changing the embedding model or subtitle inclusion means re-embedding so semantic search, related videos, and category shelves stay consistent. Horde prompts when the embed model changes.
Filters while searching¶
Search works together with library filters:
- Active channel (sidebar)
- Active tag chip
- Current sort for library result ordering where applicable
Clear the search box to return to the normal library or channel feed.
Related¶
- Library — home grid and tags
- Channels — channel video lists that power “Available to stream”
- AI features — embeddings, Recommended, related videos
- AI setup — providers and models
- AI settings —
use_subtitlesand feature toggles