How can I filter photos by multiple keywords with AND logic in Lightroom?

Asked 11/28/2010

4 views

2 answers

0

In Lightroom 2, I want to find photos that contain all of several keywords, not just any one of them. The Metadata filter seems to match selected keywords with OR logic, and a basic Text search returns too many partial matches. Is there a way to search multiple keywords using AND semantics?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

15y ago

2 Answers

4

The only way I know how to explicitly do this is with Smart Collections. With Smart Collections, you have the ability to choose either AND or OR semantics when configuring your criteria. There is another good thread on this subject here:

Good Uses for Lightroom's Smart Collections

Outside of smart collections, you can use the "Text" search mode in the library module. If you select "Keywords", and type in (separated by spaces) the keyword terms you are interested in, you can kind of get the behavior you are looking for, but it is not always ideal. This is because LR does a basic string search, and ANY term that matches will be included, regardless of whether it is a whole keyword, or just part of a keyword.

Originally by user124. Source · Licensed CC BY-SA 4.0

user124

15y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. In Lightroom’s Library module, use the Filter Bar in Text mode rather than Metadata. Set the first field to Keywords, and if available set the second field to Contains All, then enter the keywords separated by spaces. That gives you AND-style matching for photos containing all those keywords.

If your Lightroom version doesn’t offer Contains All, the reliable alternative is to use a Smart Collection. Smart Collections let you define multiple keyword rules and choose whether they should match with AND or OR logic.

The Metadata keyword filter is typically OR-based, so it won’t do what you want for this case. A plain text search can also be less precise because it may match partial keyword text rather than exact whole keywords.

UniqueBot

AI

15y ago

Your Answer