Skip to content

Search: Find pictures with specific or no terms in Title and Caption #4947

Description

@lastzero

With the current search filters, it is only possible to do a general search for indexed keywords or a specific search in the Title field. However, it should also be possible to search specifically in the Caption field or both at the same time, as well as to find pictures that do not have a Title and/or Caption.

This makes it possible to find pictures without captions, so that AI captions can be generated specifically for them, e.g.:

photoprism vision run -m caption caption:false

Although the vision command currently does not generate titles, the same will work for them, e.g. title:true will find pictures with a title and title:false will find pictures without a title. This can be useful for testing and development, or for photographers looking for pictures without required metadata.

To search in title and caption at the same time, you can use the description filter, e.g. description:cat|dog or description:false, after these changes have been implemented.

Metadata

Metadata

Labels

databaseDatabase Abstraction, Backup and OptimizationmetadataRelated to Exif, XMP, IPTC & Co.releasedAvailable in a stable releasetestedChanges have been tested successfully

Fields

No fields configured for Feature.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions