Expand description
Scoped, grouped search: Request::Search and its reply.
Structs§
- Copies
- Experimental (
federation): where an item is from, and its title’s copies on other servers, as aSearchHitand anItemreply have them. - Search
Counts - How many results each scope has, for the scope chips and the empty
state. A count is what the catalog says, not a promise: the scope’s
own search may find a few more or fewer.
Nonewhere it is not known without asking again; a search that finds nothing in its scope counts the others. - Search
Group - One kind’s results.
- Search
Hit - Experimental (
federation): a search’s item for a client that names the feature. A title on several servers (the same TMDB, IMDb, TVDB, MusicBrainz or Plex id; an episode by its show’s, season and number) is one hit: this server’s copy when it has one, else the copy the user plays from or last played, else the first online. - Search
Request - A search. On the wire,
{"type": "search", "query": …, "scope": …}. - Search
Result - An item a search found, as a client shows both a plain search’s and a federated one’s: the item, and where it is from with its title’s other copies when the search was across paired servers.
- Search
Results - What a search found:
Items, or for a client that names the experimentalfederationfeatureSearchHits. - Title
Copy - One copy of a title, on one server.
Enums§
- TopResult
- The top match: an item, or a person. On the wire,
{"item": {...}}or{"person": {...}}. A person’s items are listed withRequest::PersonItems.