[PR #2015] [MERGED] feat(server): Fallback to text search if machine-learning is disabled #9326

Closed
opened 2026-02-05 14:02:43 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2015
Author: @bo0tzz
Created: 3/18/2023
Status: Merged
Merged: 3/19/2023
Merged by: @alextran1502

Base: mainHead: feat/search-strategy-fallback


📝 Commits (1)

  • 3a66c1e feat(server): Fallback to text search if machine-learning is disabled

📊 Changes

1 file changed (+5 additions, -8 deletions)

View changed files

📝 server/libs/domain/src/search/search.service.ts (+5 -8)

📄 Description

I've also reordered the switch-case so that text search is the default (This shouldn't usually make a difference since we always have either the CLIP or TEXT strategy, but I think it makes the code a little clearer anyways).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/2015 **Author:** [@bo0tzz](https://github.com/bo0tzz) **Created:** 3/18/2023 **Status:** ✅ Merged **Merged:** 3/19/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `feat/search-strategy-fallback` --- ### 📝 Commits (1) - [`3a66c1e`](https://github.com/immich-app/immich/commit/3a66c1ea4b395682634f1103e0288eb5b533af83) feat(server): Fallback to text search if machine-learning is disabled ### 📊 Changes **1 file changed** (+5 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `server/libs/domain/src/search/search.service.ts` (+5 -8) </details> ### 📄 Description I've also reordered the switch-case so that text search is the default (This shouldn't usually make a difference since we always have either the CLIP or TEXT strategy, but I think it makes the code a little clearer anyways). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:02:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9326