mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #8914] Augment tag searching to consider individual ItemValues instead of the delimited tags field #11906
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/8914
State: closed
Merged: Yes
Changes
This change improves tag searching. Previously,
(Tags not null and Tags like @SearchTermContains)searched against the composedtag1|tag2|tag3value. That approach had no good way of differentiating betweenstr1andprefix...str1...suffixwhich might have entirely different meaning (e.g. searchingciawould turn up content fromartifiCIAl intelligence).This PR provides bias towards startswith and equals, additionally biasing content with multiple matching tags.