[PR #8914] Augment tag searching to consider individual ItemValues instead of the delimited tags field #11906

Closed
opened 2026-02-07 06:46:39 +03:00 by OVERLORD · 0 comments
Owner

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 composed tag1|tag2|tag3 value. That approach had no good way of differentiating between str1 and prefix...str1...suffix which might have entirely different meaning (e.g. searching cia would turn up content from artifiCIAl intelligence).

This PR provides bias towards startswith and equals, additionally biasing content with multiple matching tags.

**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 composed `tag1|tag2|tag3` value. That approach had no good way of differentiating between `str1` and `prefix...str1...suffix` which might have entirely different meaning (e.g. searching `cia` would turn up content from `artifiCIAl intelligence`). This PR provides bias towards startswith and equals, additionally biasing content with multiple matching tags.
OVERLORD added the pull-request label 2026-02-07 06:46:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11906