[BUG] People search doesn’t turn up merged faces #1237

Closed
opened 2026-02-05 00:58:49 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @raisinbear on GitHub (Aug 16, 2023).

The bug

Hi,

I guess the title says it all. After merging (unnamed) faces to a named face, the search for that name turns up only the images the „original“ named face is in.
Sorry if this is a duplicate, couldn’t find anything related..

The OS that Immich Server is running on

Debian

Version of Immich Server

v1.73.0

Version of Immich Mobile App

v1.73.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Not relevant

Your .env content

Not relevant

Reproduction steps

1. Name a face
2. Merge a (unnamed) face into the named one
3. Search for the name
4. Merged-face images don’t show up

Additional information

No response

Originally created by @raisinbear on GitHub (Aug 16, 2023). ### The bug Hi, I guess the title says it all. After merging (unnamed) faces to a named face, the search for that name turns up only the images the „original“ named face is in. Sorry if this is a duplicate, couldn’t find anything related.. ### The OS that Immich Server is running on Debian ### Version of Immich Server v1.73.0 ### Version of Immich Mobile App v1.73.0 ### Platform with the issue - [ ] Server - [X] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Not relevant ``` ### Your .env content ```Shell Not relevant ``` ### Reproduction steps ```bash 1. Name a face 2. Merge a (unnamed) face into the named one 3. Search for the name 4. Merged-face images don’t show up ``` ### Additional information _No response_
OVERLORD added the 🗄️server label 2026-02-05 00:58:49 +03:00
Author
Owner

@alextran1502 commented on GitHub (Aug 16, 2023):

Confirmed

@alextran1502 commented on GitHub (Aug 16, 2023): Confirmed
Author
Owner

@alextran1502 commented on GitHub (Aug 16, 2023):

Note:

We reindexed faces but didn't reindex assets with new faces for the search to use them.

We should run await this.jobRepository.queue({ name: JobName.SEARCH_INDEX_ASSET, data: { ids } }); after reassigning faces

Where ids is the affected asset ids that get merged

@alextran1502 commented on GitHub (Aug 16, 2023): Note: We reindexed faces but didn't reindex assets with new faces for the search to use them. We should run `await this.jobRepository.queue({ name: JobName.SEARCH_INDEX_ASSET, data: { ids } });` after reassigning faces Where ids is the affected asset ids that get merged
Author
Owner

@alextran1502 commented on GitHub (Oct 5, 2023):

Already fixed

@alextran1502 commented on GitHub (Oct 5, 2023): Already fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1237