mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
fix(server): CLIP search return empty result (#2018)
This commit is contained in:
parent
9a332074c7
commit
7ce64ecf05
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue