1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-03 22:56:25 +02:00
Commit graph

31 commits

Author SHA1 Message Date
Mert
72fa31f9e9
fix(server): changing vector dim size () 2025-01-24 20:01:24 -05:00
Mert
ba105d9f19
fix(server): searchRandom response ()
* fix searchRandom

* add e2e

* set outer limit
2025-01-24 00:41:54 -05:00
Jason Rasmussen
d3446f3092
refactor: logging repository () 2025-01-23 08:31:30 -05:00
Daniel Dietzler
332a865ce6
refactor: migrate person repository to kysely ()
* refactor: migrate person repository to kysely

* `asVector` begone

* linting

* fix metadata faces

* update test

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2025-01-21 13:12:28 -05:00
Mert
2e12c46980
refactor(server): use kysely () 2025-01-09 11:15:41 -05:00
Mert
25ca3b1124
refactor(server): use includeNull in query for search suggestions ()
* use `includeNull`

* push down `includeNull` into query, inner joins

* remove filter

* update sql

* fix tests

* maybe fix e2e

* more e2e tests

* handle no exif row

* whoops

* update sql
2024-12-10 16:22:37 -05:00
Mert
34fae31fd4
fix(server): remove unnecessary guc settings for vector search ()
remove unnecessary guc settings
2024-11-19 15:37:39 -06:00
Jason Rasmussen
64831e2328
refactor: remove smart info table () 2024-11-07 11:25:10 -05:00
Jason Rasmussen
e6a666f1d3
refactor(server): telemetry ()
refactor: telemetry
2024-10-21 23:52:30 +00:00
Mert
063969ca05
fix(server): searching with both personIds and withPeople ()
* use cte

* linting
2024-10-07 15:44:04 -04:00
Jason Rasmussen
3ac00b0ffa
refactor(server): db env () 2024-10-03 17:48:40 -04:00
Mert
7adb35e59e
fix(server): /search/random failing with certain options ()
* fix relation handling, remove pagination

* update api, sql

* update mock
2024-09-30 00:29:35 -04:00
Jason Rasmussen
12da250028
refactor: enums () 2024-09-27 10:28:42 -04:00
jschwalbe
9f8a7e0bea
feat(server): sort assets randomly from the API 'api/search/metadata' endpoint by including 'order': 'rand' in the API call. ()
feat(server): search metadata random sort order

Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-09-23 12:09:26 -04:00
Jason Rasmussen
4f25cec6df
refactor(server): metadata repository () 2024-09-18 08:44:22 -04:00
Jason Rasmussen
b288241a5c
refactor(server): enums () 2024-08-15 06:57:01 -04:00
Mert
4ed75f2ac9
refactor(server): add config events for clip ()
use config events for clip, add tests

formatting
2024-08-04 21:00:36 +00:00
Mert
42f3b50422
fix(server): /places entries sometimes not ordered alphabetically () 2024-06-20 23:48:19 -04:00
Mert
79a8ab71ef
fix(server): reindex after changing to a model with a different dimension size ()
reindex after truncating
2024-06-19 17:25:02 -04:00
Mert
6b1b5054f8
feat(server): separate face search relation ()
* wip

* various fixes

* new migration

* fix test

* add face search entity, update sql

* update e2e

* set storage to external
2024-06-16 19:25:27 +00:00
Mert
e7c8501930
fix(server): search duplicates of the same asset type ()
* search by type

* make sql

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-05-26 22:04:23 +00:00
Jason Rasmussen
1df7be8436
refactor(server): version logic ()
* refactor(server): version

* test: better version and log checks
2024-05-20 20:31:36 -04:00
Mert
64636c0618
feat(server): near-duplicate detection ()
* duplicate detection job, entity, config

* queueing

* job panel, update api

* use embedding in db instead of fetching

* disable concurrency

* only queue visible assets

* handle multiple duplicateIds

* update concurrent queue check

* add provider

* add web placeholder, server endpoint, migration, various fixes

* update sql

* select embedding by default

* rename variable

* simplify

* remove separate entity, handle re-running with different threshold, set default back to 0.02

* fix tests

* add tests

* add index to entity

* formatting

* update asset mock

* fix `upsertJobStatus` signature

* update sql

* formatting

* default to 0.03

* optimize clustering

* use asset's `duplicateId` if present

* update sql

* update tests

* expose admin setting

* refactor

* formatting

* skip if ml is disabled

* debug trash e2e

* remove from web

* remove from sidebar

* test if ml is disabled

* update sql

* separate duplicate detection from clip in config, disable by default for now

* fix doc

* lower minimum `maxDistance`

* update api

* Add and Use Duplicate Detection Feature Flag ()

* Add Duplicate Detection Flag

* Use Duplicate Detection Flag

* Attempt Fixes for Failing Checks

* lower minimum `maxDistance`

* fix tests

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>

* chore: fixes and additions after rebase

* chore: update api (remove new Role enum)

* fix: left join smart search so getAll works without machine learning

* test: trash e2e go back to checking length of assets is zero

* chore: regen api after rebase

* test: fix tests after rebase

* redundant join

---------

Co-authored-by: Nicholas Flamy <30300649+NicholasFlamy@users.noreply.github.com>
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
Co-authored-by: Zack Pollard <zack@futo.org>
2024-05-16 18:08:37 +01:00
AmAn Sharma
6e6deec40c
feat: use ILoggerRepository ()
* Migrate ImmichLogger over to injected ILoggerRepository

* chore: cleanup and tests

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-16 17:30:31 -04:00
Mert
5bc9158724
fix(server): penalize null geodata fields when searching places () 2024-03-31 10:59:11 -04:00
Jason Rasmussen
4b39d37cae
fix: sql generation issues ()
chore: fix sql gen issues
2024-03-30 00:16:06 -04:00
Mert
4a6a0aa142
fix(server): places page not working with partner sharing () 2024-03-25 01:59:11 -04:00
Mert
b07a565e34
chore(server): change upsert signature for search repo ()
* upsert embedding

* remove unused imports
2024-03-23 14:37:06 -04:00
Daniel Dietzler
b588a87d4a
chore(server): rename domain repositories -> interfaces ()
rename domain repositories
2024-03-21 06:59:49 -05:00
Jason Rasmussen
16d0df796c
refactor: infra folder () 2024-03-20 23:15:09 -04:00
Jason Rasmussen
c1402eee8e
chore: migrate database files () 2024-03-20 21:02:51 +00:00
Renamed from server/src/infra/repositories/search.repository.ts (Browse further)