Jellyfin Forum
in search results, show exact title first - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Feature Requests (https://forum.jellyfin.org/f-feature-requests)
+--- Thread: in search results, show exact title first (/t-in-search-results-show-exact-title-first)



in search results, show exact title first - monocle - 2024-11-20

Some films have very short titles. For example "M" (1931), "Z" (1969), and "If" (1968) are all on the "1001 Movies You Must See Before You Die" list. Jellyfin searches for partial string matches, so the movies that show up for a search for "M" is quite extensive. There are less dramatic examples, too, that probably hit a bunch of people. How many films have "Star Wars" in the title besides "Star Wars" (1977)?

The simple fix is to show any exact matches first, then the rest of the list. I would like to request that as a feature.

Also, afterthought, can punctuation be treated as a space for search so "M A S H" would find "M*A*S*H"?


RE: in search results, show exact title first - TheDreadPirate - 2024-11-20

For MASH, we specifically call it out in our documentation to use "MASH", without spaces, instead of "M*A*S*H" due to the asterisks.

For the other movies you need to include the ID in the folder name to assist in identification.

For example.

Code:
M (1931) [tmdbid-832]



RE: in search results, show exact title first - wenzelja - 2024-11-20

(2024-11-20, 03:08 PM)TheDreadPirate Wrote: For MASH, we specifically call it out in our documentation to use "MASH", without spaces, instead of "M*A*S*H" due to the asterisks.

For the other movies you need to include the ID in the folder name to assist in identification.

For example.

Code:
M (1931) [tmdbid-832]

I think @monocle is talking about User search results, not storage/directory layout and metadata extraction.  As in someone logs in to the app, goes to Search to find the movie M from 1931, but the search results bring up anything and everything that has the letter M in the title.  I think he was requesting that User Search results bring up exact matches first, then all other "similar" titles.  You make it sound like a User would have to know the name of the movie, the year it came out, and the tmbdid in order to find what they want.


RE: in search results, show exact title first - monocle - 2024-11-20

Exactly as wenzilja said. Those tips for name folders are interesting, but I'm talking now about the UX of trying to find "M" in the web UI. I have more than 24 movies starting with "m" and web UI is showing me three groups of eight with no further pages of results. The Fritz Lang movie is not in those 24. Having to search by people associated with the film (Fritz Lang, Peter Lorre) is bad UX. Nor is "M*A*S*H".


RE: in search results, show exact title first - theguymadmax - 2024-11-20

It does show the exact title first. If you search for M followed by a space, then the movie M(1931) will be the first result. It should be the same with Z and if movies.

Edit:
Even without a space, if I type just "M" into the search bar, the movie *M* (1931) appears first (see screenshot). This is on the latest version. The search behavior in version 10.10 is slightly different from that in 10.9.