mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(server): CLIP search return empty result (#2018)
This commit is contained in:
@@ -107,6 +107,7 @@ export class SearchService {
|
||||
case SearchStrategy.CLIP:
|
||||
const clip = await this.machineLearning.encodeText(query);
|
||||
assets = await this.searchRepository.vectorSearch(clip, filters);
|
||||
break;
|
||||
case SearchStrategy.TEXT:
|
||||
default:
|
||||
assets = await this.searchRepository.searchAssets(query, filters);
|
||||
|
||||
Reference in New Issue
Block a user