High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): CLIP search return empty result (#2018)
Alex7ce64ecf05f5
diff --git a/server/libs/domain/src/search/search.service.ts b/server/libs/domain/src/search/search.service.tsindex 6bd6e6f70e..dab2f5ad3c 100644--- a/server/libs/domain/src/search/search.service.ts+++ b/server/libs/domain/src/search/search.service.ts@@ -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);