-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search in 1.95.1 only returns a single result #7313
Comments
v1.95.1 here, unable to replicate. Out of curiosity what happens on mobile? Mobile still uses the old search platform. |
Identical results on mobile as well, nothing obvious in logs for any of the containers either |
If you revert back to 1.95, does it work? |
Yes, reverting to 1.95.0 restores the functionality |
Can you tell me more about your instance, how many users do you have? How many assets do you have? THe things we fixed in 1.95.1 is to not return archived assets by default |
Single user with around 22000 photos, both archive and trash are empty. I can still see all the images through the default timeline and through albums, just not through search. |
Same issue here, the search works as expected after running Smart Search Job, but returns to one result shortly after. |
I have the same issue, running Immich from a Synology NAS. Rerunning all Smart Search helps temporarily, but after the job is done I only see 1 photo, regardless of the keyword used. Problem persists between 1.95.0 and 1.95.1, between different clip models, machine learning hosts, and after reinstalling the containers. |
Can you guys try run the Smart Search job for all and see if it fixes the issue? |
A full (or partial) re-run restores the search, but only for a few minutes for me. Curiously, the 1 photo changes after each re-run. |
I'm unable to reproduce this issue. To see if it has any relation to the archive change, can you try setting the Archive toggle when searching? Next, can you change the |
The issue still persists for me after checking the 2 archives option (I don't have any photo archived also). For me it looks like the model results are wiped off every 4-5 minutes after finishing/pausing a smart search job, leaving only 1 photo to search for. I created another user and upload some photos to test. Search works ok in the alt account, but when I toggle show photo from the main account in timeline, the issue kicks in again. Disabling it restores search in alt account. Edit: I am not able to replicate the bug in my alt account (using a dummy external library load). Alternatively, adding more direct upload or more external libraries does not fix the main account |
Also experienced the single search result on 1.95.1. Downgraded to 1.95.0 but left database at (image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0) at v0.2.0 and re-ran SYNC ALL. Results are a full return of search as expected and previously experienced. |
Take it back - I also am losing the search results after about 5 min without doing anything else. Had them (search "red car" returned many results) and now "red car" returns one result (and it is a picture of a printed circuit board without any red at all). So that is on 1.95.0 and v0.2.0 on pgvecto. |
I think this might be a pgvecto.rs bug in that case. Out of curiosity, can you try running |
EDIT: This resolved the issue for me. Leaving behind the steps I took for others:
|
This worked for me as well. Docker Compose:
|
I can confirm the |
Based on this, I was able to reproduce the issue. It happens in two cases:
The index ends up still having the entries from before the table was cleared / updated, so a full table's worth of duplicates wreaks havoc on it. The first case is easy enough to fix in code. If the second applies to you, then running |
The bug
When attempting to search for any details, either using the simple search box or the advanced search box, only a single result is returned.
This appears to be a regression from 1.95.0, which was working fine before I updated to 1.95.1
The OS that Immich Server is running on
Ubuntu 22.04.3 (Portainer)
Version of Immich Server
v1.95.1
Version of Immich Mobile App
v1.95.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
1. Begin a search using the advanced search button 2. Fill in only the context field 3. Get only a single result when filled in. 4. Repeat this with any combination of fields, as long as context is filled in.
Additional information
No response
The text was updated successfully, but these errors were encountered: