[PR #1958] [CLOSED] Support searching for Subject and Keywords EXIF fields #9301

Closed
opened 2026-02-05 14:02:15 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/1958
Author: @cycneuramus
Created: 3/6/2023
Status: Closed

Base: mainHead: exif-subject-keywords


📝 Commits (4)

  • ee5d481 Support searching for Subject and Keywords EXIF fields
  • 42aeaba Don't touch existing DB migrations
  • 93dab87 Add new EXIF fields to asset.schema.ts
  • 38242fb Add new EXIF fields to typesense search

📊 Changes

19 files changed (+168 additions, -19 deletions)

View changed files

📝 mobile/lib/shared/models/exif_info.dart (+7 -1)
📝 mobile/openapi/doc/ExifResponseDto.md (+2 -0)
📝 mobile/openapi/doc/SearchApi.md (+6 -2)
📝 mobile/openapi/lib/api/search_api.dart (+17 -3)
📝 mobile/openapi/lib/model/exif_response_dto.dart (+25 -3)
📝 mobile/openapi/test/exif_response_dto_test.dart (+10 -0)
📝 mobile/openapi/test/search_api_test.dart (+1 -1)
📝 server/apps/immich/src/api-v1/asset/asset-repository.ts (+2 -0)
📝 server/apps/immich/src/api-v1/asset/asset.service.ts (+6 -0)
📝 server/apps/immich/src/api-v1/asset/dto/create-exif.dto.ts (+6 -0)
📝 server/apps/immich/src/api-v1/asset/dto/search-properties.dto.ts (+2 -0)
📝 server/apps/microservices/src/processors/metadata-extraction.processor.ts (+2 -0)
📝 server/immich-openapi-specs.json (+27 -1)
📝 server/libs/domain/src/asset/response-dto/exif-response.dto.ts (+4 -0)
📝 server/libs/domain/test/fixtures.ts (+4 -0)
📝 server/libs/infra/src/db/entities/exif.entity.ts (+8 -1)
📝 server/libs/infra/src/search/schemas/asset.schema.ts (+2 -0)
📝 server/libs/infra/src/search/typesense.repository.ts (+2 -0)
📝 web/src/api/open-api/api.ts (+35 -7)

📄 Description

As per this discussion, I have added the ability to search for a couple of additional EXIF fields.

This will prove useful for those people who maintain their own photo libraries and have spent considerable time adding tags, faces, etc. to the EXIF metadata. See, e.g., this comment.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/1958 **Author:** [@cycneuramus](https://github.com/cycneuramus) **Created:** 3/6/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `exif-subject-keywords` --- ### 📝 Commits (4) - [`ee5d481`](https://github.com/immich-app/immich/commit/ee5d481a4a1384e11b03c3fc0468258a0ba23d60) Support searching for Subject and Keywords EXIF fields - [`42aeaba`](https://github.com/immich-app/immich/commit/42aeaba6100b9902486bdb0d50dfca7cff258655) Don't touch existing DB migrations - [`93dab87`](https://github.com/immich-app/immich/commit/93dab879861d9ca6261c56e845dae209bedb3f60) Add new EXIF fields to asset.schema.ts - [`38242fb`](https://github.com/immich-app/immich/commit/38242fbb71dc594a1b4000b9a9b98a79493eb8f4) Add new EXIF fields to typesense search ### 📊 Changes **19 files changed** (+168 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `mobile/lib/shared/models/exif_info.dart` (+7 -1) 📝 `mobile/openapi/doc/ExifResponseDto.md` (+2 -0) 📝 `mobile/openapi/doc/SearchApi.md` (+6 -2) 📝 `mobile/openapi/lib/api/search_api.dart` (+17 -3) 📝 `mobile/openapi/lib/model/exif_response_dto.dart` (+25 -3) 📝 `mobile/openapi/test/exif_response_dto_test.dart` (+10 -0) 📝 `mobile/openapi/test/search_api_test.dart` (+1 -1) 📝 `server/apps/immich/src/api-v1/asset/asset-repository.ts` (+2 -0) 📝 `server/apps/immich/src/api-v1/asset/asset.service.ts` (+6 -0) 📝 `server/apps/immich/src/api-v1/asset/dto/create-exif.dto.ts` (+6 -0) 📝 `server/apps/immich/src/api-v1/asset/dto/search-properties.dto.ts` (+2 -0) 📝 `server/apps/microservices/src/processors/metadata-extraction.processor.ts` (+2 -0) 📝 `server/immich-openapi-specs.json` (+27 -1) 📝 `server/libs/domain/src/asset/response-dto/exif-response.dto.ts` (+4 -0) 📝 `server/libs/domain/test/fixtures.ts` (+4 -0) 📝 `server/libs/infra/src/db/entities/exif.entity.ts` (+8 -1) 📝 `server/libs/infra/src/search/schemas/asset.schema.ts` (+2 -0) 📝 `server/libs/infra/src/search/typesense.repository.ts` (+2 -0) 📝 `web/src/api/open-api/api.ts` (+35 -7) </details> ### 📄 Description As per [this](https://github.com/immich-app/immich/discussions/1752) discussion, I have added the ability to search for a couple of additional EXIF fields. This will prove useful for those people who maintain their own photo libraries and have spent considerable time adding tags, faces, etc. to the EXIF metadata. See, e.g., [this](https://github.com/immich-app/immich/issues/294#issuecomment-1402478248) comment. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:02:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9301