mirror of
https://github.com/immich-app/immich.git
synced 2025-12-25 17:24:58 +03:00
chore(server): simplify search face query and better clustering (#5573)
* chore(server): simplify search face query and better clustering * update sql * Use correct syntax for utilizing the index * Update sql
This commit is contained in:
@@ -98,7 +98,7 @@ WITH
|
||||
WHERE
|
||||
"asset"."ownerId" = $2
|
||||
ORDER BY
|
||||
"faces"."embedding" <= > $3 ASC
|
||||
1 + ("faces"."embedding" <= > $3) ASC
|
||||
LIMIT
|
||||
100
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user