• 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.

Issue with Title Search with 'Contains'

Status
Not open for further replies.

Paul_DS256

Senior Member
Premium Classic Member
Joined
Mar 29, 2015
Messages
1,218
Lightroom Experience
Intermediate
Lightroom Version
Classic
Lightroom Version Number
LrC 11.0.1
Operating System
  1. Windows 10
I went looking for pictures of train trestles so did a search of photos containing 'train' in the TITLE. The return seem to find pictures containing 'rain'. I'm not sure if I'm doing something wrong or this is a bug? Thoughts? Thanks

1638367585740.png
 
Try: Contains Words Train
 
I need to see the exact criteria. “Train” is not contained in a title “Rain…”. IMO “Rain” should not be found.


Sent from my iPad using Tapatalk
 
Victoria explains the differences in the section: “How can I use the Text filters to do AND or OR filters?” Page 532 of the “Adobe Lightroom Classic - The Missing FAQ (9.4-2020)”. which, judging from your badge, you can presumably refer to.
 
Last edited:
Amazingly, I can reproduce this in a hit-and-miss kind of way. This should not be possible.
1638371320717.png
 
Thanks. Yes I tried that. My question is around the proper use of CONTAINS.
It’s simple. “Contains: rain” means any word that contains the letters ‘rain’. Because ‘train’ contains these letters, that word will also be found. If you do not want that, and only want to find the full word “rain”, then use ‘contains words’.
 
Victoria explains the differences in the section: “How can I use the Text filters to do AND or OR filters?”
Different issue Y.K. I put in 'train' and it matches on 'rain'.
 
In
Amazingly, I can reproduce this in a hit-and-miss kind of way. This should not be possible.
View attachment 17641

It's interesting to note, that although the Tile field is Rainbow ball, there is a keyword Freya puppytraining, which apparently confuses LrC - perhaps just another bug, as you are not searching for keywords or All metadata fields.
 
What more do you need Cletus? You can see the criteria I created in the image.

I missed the this was on the filter bar and not a smart collection.

Try the criteria in a Smart Collection and see if you get the same results. It disturbs me that you and others are having this result on the filter bar.


Sent from my iPad using Tapatalk
 
Try the criteria in a Smart Collection and see if you get the same results. It disturbs me that you and others are having this result on the filter bar.
I can reproduce this issue, but only with "train" and "rain". And yes, I get the same wrong result when using a smart collection.
This is so weird. Also disturbing, since I depend on keywords a lot!

1638373184270.png
 
It only occurs with Title, and only when the search string is of the form "tx" and the Title contains the word "x". It's an old bug reported in 2014:
https://community.adobe.com/t5/ligh...sn-t-contain-rule-and-letter-t/idi-p/12251838

Maybe if you add your constructive opinions and Upvotes, Adobe will finally fix it. (I'm Charlie Brown with the football, eternally hoping that Adobe won't snatch the football away.)

There have been similar bugs with text search reported before, some fixed, some not (I think I'm missing some):

Keywords Contain Words ("big mallard ducks", 2010, fixed 2015)
Caption Ends With (2011, unfixed)
Filename Starts With (2011, fixed 2016-19)

I think the root cause of the problem is that LR's text search is implemented with a third-party full-text indexing module for the SQLite database. Either that module has bugs or, more likely, LR's use of it is buggy. And whoever on the LR team implemented it is long gone from that team, along with the knowledge of how to use that module. (This is similar to many other bugs in LR involving third-party modules, e.g. color management in the web gallery preview, the Map module on high-res Windows displays.)
 
Looks like the bug is confirmed but currently considered low priority. More votes on it will help raise the priority a bit though.
 
Looks like the bug is confirmed but currently considered low priority. More votes on it will help raise the priority a bit though.

Since it may take a very long time to correct the Title Contains bug, LrC users should use the Title Contains Words option instead. On all my tests, so far, it seems to work correctly. Do you happen to know any problem with the Contains Words implementation, Victoria?
 
Not that I know of, but it's not something I've particularly been tracking.
 
LrC users should use the Title Contains Words option instead
I would suggest that users need to try difference combinations of all criteria. IMHO, it is unlikely just a problem with a specific combination.
 
Status
Not open for further replies.
Back
Top