Copy link to clipboard
Copied
Attempting to use the library filter to search among some recent images taken. I knew immediately that the filter was not working as I was expecting many more photos to appear.
Specifically I'm using Library filter on Caption Text, with logic 'Contains Words' and the words Bird and Canada which I know I have in multiple photos
However for those images where the only instance of Canada is where the caption ends with "Canada." those images do not appear in filter. If I remove the terminating period ".", the the image appears in the filter set
I would expect the filter should know that "Canada." is the word "Canada", i.e. ignore the period as much as any other punctuation used.
See screenshots for more details and example.
Using Lightroom Classic 12.4 on Windows 11 laptop
Copy link to clipboard
Copied
This looks like a bug to me. It finds Canada with a comma or other punctuation after it but not the period.
Copy link to clipboard
Copied
Check your Preferences>File Handling> Treat "." as a keyword separator setting.
Copy link to clipboard
Copied
Changing that setting makes no difference in this case as it probabaly pertains only to keywords. The OP is searching the Caption Field. Contains Words ignores commans, colons etc but not periods. Seems like a bug or at least a bad design.
Copy link to clipboard
Copied
What if you include Canada with the period as well as Canada without the period, that is:
Bird Canada Canada.
Copy link to clipboard
Copied
LR has always considered "." to be part of a "word". The precise rules for "contains words pattern" are quite messy -- the rules for what constitutes a "word" in pattern are different from the rules for what constitutes a word in the field being searched. (I had to reverse-engineer all this when first implementing my Any Filter plugin). I don't think any of this behavior was carefully designed -- in general, LR's text search is a sloppy mess with lots of clear bugs and questionable behavior.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now