Skip to main content
cadkins86
Participant
April 25, 2019
Answered

Help w/Smart Collections & random files showing up in them

  • April 25, 2019
  • 1 reply
  • 681 views

Hi there

I'm dealing with an issue where I create smart collections (see first screenshot below) and for the most part they narrow down perfectly what the smart collection contains. However, I am getting random "pano" images (images that I have created panoramas from and Lightroom adds the suffix "pano") inside of these smart collections. They don't meet any of the criteria for being in the photos (see second screenshot). Does anyone know what's going on? Is this a bug or am I doing something wrong? I'm using the latest version of Lightroom Classic on my Mac.

Thanks in advance!

This topic has been closed for replies.
Correct answer johnrellis

I don't have dated folders to try this on but change the filter to "contains words" and don't use the "or". The boolean operator "or" doesn't work here,  it just tries to find the word "or"


To build on Bob's reply, the criterion you wrote:

Folder contains 2018-06-24 or 2018-06-25

doesn't do what you think. As Bob said, LR doesn't implement an "or" operator like that.  What that criterion does is match any photo contained in a folder whose path contains the string "2018-06-24", the string "2018-06-25", or the string"or".  So if the the file you showed above is stored in the path

/Users/cadkins86/Pictures/florida/2013-02-05/PANO0003-Pano.dng

it will match that criterion, since its path contains "or" (in "florida").

In general, the "contains" operator operator will match the chosen field if it contains any of the specified strings.

The "contains words" operator will match the chosen field if it contains all of the specified strings as "words" (tokens surrounded by spaces or some other punctuation characters).   So this criterion won't do what you want either:

Folder contains words 2018-06-24 2018-06-25

It will only match photos whose path contains both the words "2018-06-24" and "2018-06-25".  You probably don't have folders with such paths.

Instead, use this criterion:

Folder contains 2018-06-24 2018-06-25

This will match a photo containing "2018-06-24" in its path or containing "2018-06-25" in its path.

This will probably be good enough in your situation.  But note that criterion would also match the folder "2018-06-25 panos", e.g.

/Users/cadkins86/Pictures/florida/2018-06-25 panos/PANO0003-Pano.dng

because that path contains the string "2018-06-25".  Even rewriting your criteria to use "contains words" won't avoid this, since that path does contain the punctuation-separated "word" "0218-06-25". 

LR's smart-collection criterion aren't well-designed, and the confusing distinctions between "contains" and "contains words" and the lack of exact matching have tripped up many, many people.

1 reply

GoldingD
Legend
April 25, 2019

The PANO example has a rating that meets the first criteria ,one * or more. Is it in a sub folder of either if the folders you limit the app criteria to? Does a copy exist in one of those folders?

cadkins86
cadkins86Author
Participant
April 25, 2019

It does meet the star criteria, but it does not match the folder name. I have it set to "match ALL of the following rules". A copy does not exist in one of the folders I specified. The original is in a folder 100_0191.

AxelMatt
Community Expert
Community Expert
April 25, 2019

cadkins86  schrieb

... but it does not match the folder name. I have it set to "match ALL of the following rules"

You gave the answer by yourself.

You have set "match ALL...." that means all of the critria must match. And when the pictures aren't inside the specified folders not all criterias do match and so the picture doesn't show in the collection.

You have to set option to "match one of..." (I don't know excatly what the option is). Then it should work.

My System: Intel i7-8700K - 64GB RAM - NVidia Geforce RTX 3060 - Windows 11 Pro 25H2 -- LR-Classic 15 - Photoshop 27 - Nik Collection 8 - PureRAW 5 - Topaz Photo