Skip to content

Commit

Permalink
fix(server): CLIP search return empty result (immich-app#2018)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 authored Mar 19, 2023
1 parent 9a33207 commit 7ce64ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/libs/domain/src/search/search.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7ce64ec

Please sign in to comment.