From 7ce64ecf05f5f8ee5f8c76b1bcc95fbbee407248 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 19 Mar 2023 08:20:23 -0500 Subject: [PATCH] fix(server): CLIP search return empty result (#2018) --- server/libs/domain/src/search/search.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/libs/domain/src/search/search.service.ts b/server/libs/domain/src/search/search.service.ts index 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);