• Welcome to the Lightroom Queen Forums! We're a friendly bunch, so please feel free to register and join in the conversation. If you're not familiar with forums, you'll find step by step instructions on how to post your first thread under Help at the bottom of the page. You're also welcome to download our free Lightroom Quick Start eBooks and explore our other FAQ resources.
  • Stop struggling with Lightroom! There's no need to spend hours hunting for the answers to your Lightroom Classic questions. All the information you need is in Adobe Lightroom Classic - The Missing FAQ!

    To help you get started, there's a series of easy tutorials to guide you through a simple workflow. As you grow in confidence, the book switches to a conversational FAQ format, so you can quickly find answers to advanced questions. And better still, the eBooks are updated for every release, so it's always up to date.
  • 12 December 2024 It's Lightroom update time again! See What’s New in Lightroom Classic 14.1, Mobile & Desktop (December 2024)? for Feature updates, new cameras and lenses, and bug fixes.

Library module Keyword search

Status
Not open for further replies.

kevin.hamburger

New Member
Joined
Jul 29, 2024
Messages
3
Lightroom Version Number
13.4
Operating System
  1. macOS 14 Sonoma
Many of my photos have multiple keywords attached to them. I would like to search for photos that ONLY had specific keywords and not any others. For example, suppose I have two photos as specified below:

Photo 1 - keywords ALPHA, BRAVO, DELTA
Photo 2 - keywords ALPHA, DELTA

If I search for ALPHA and DELTA, both photos will be selected. However, I would like to create a search where only Photo 2 is selected.

Thanks for any help.
 
In the text filter on keyword use contains or contains all and type "Alpha !Bravo Delta". The "!" in front of Bravo means "Not" so to be selected the image must contain Alpha and Delta but must not contain Bravo.
 
Thanks for this tip, but what if there are many keywords I want to exclude? I'm surprised that Adobe doesn't have a "contains only" search option.

The EXIF specification for the keyword field is a space for all keywords. You want to pick out one or two keyword phrases from a field that can contain many.

You can create a Smart Collection with multiple criteria with contains on one line and doesn’t contain on another. You still need to exclude all of the keyword phrases that you want to exclude

The problem is related to building SQL queries that run against the LrC database using human language description to derive complex queries.


Sent from my iPad using Tapatalk
 
I believe ‘AnyFilter’, a plugin from John R. Ellis can do what you want and search for images that only contain these two keywords.
 
Building on Johan's reply, here's the Any Filter query to search for photos containing ALPHA, DELTA, and no other keywords:

1722310606599.png


Note the use of the criterion Explicit Keywords rather than Keywords, which will include implicitly assigned parent keywords.
 
Status
Not open for further replies.
Back
Top