Skip to main content
Adobe Photoshop Family

21 Messages

 • 

410 Points

Sat, Apr 4, 2020 9:03 PM

Lightroom: Filter and smart collection criteria Title Starts With and Title Ends With don't work

Sure. 
Title = "Deerpark Court Tomb with Lough Gill in background"
Filter = text Title Ends With "deerpark"
displays the photo even though title does not end with "deerpark"
same photo
Filter = text Title Starts With "background"
displays the photo even though title does not start with "background"

Note: This conversation was created from a reply on: Lightroom: Text filtering problems with "Starts With".

Responses

Champion

 • 

5.4K Messages

 • 

95.8K Points

8 months ago

Title Starts With and Title Ends With are matching against individual words rather than the entire Title field. This bug is similar to the one with Filename, which was fixed quite a while ago.

I tested Caption, Keywords, and Copy Name, and they worked correctly.

21 Messages

 • 

410 Points

8 months ago

Granted I don't know anything about LR internals but if I was given the assignment of coding these filters I'd create a common routine that would take three input parameters: field name (e.g. Title), operator (e.g. Contains) and string.  If the routine worked for filename it would work for title.  Maybe someone who's familiar can shed some light.

Regardless, I would have thought that Adobe would have checked the other options while they were fixing it for Filename.

Champion

 • 

5.4K Messages

 • 

95.8K Points

8 months ago

I believe complications arise from how LR implements fast full-text search, and the bugs with Title and filenames are fall-out from those complications.  There are (at least) three categories of searchable metadata fields:

- The field is individually searchable by name (e.g. Caption).

- The field is individually searchable by name and supports exact match via "is" (e.g. Creator).

- The field is not individually searchable by name but is via Any Searchable Metadata, Searchable EXIF, or Searchable IPTC (e.g. User Comment).

Only a few of the text fields support exact match ("is"), a big design mistake (e.g. no exact match of keywords). I believe this was a consequence of the full-text indexing component Adobe used in conjunction with the SQLite database used for the catalog. It appears that the full-text indexing (or at least the way Adobe used it) doesn't support exact match, and LR has to do something special to support it. It may be the developers thought that supporting exact match on every field would cost too much in performance, but that's just speculation.

Regardless, the bug with Title is likely fallout from these complications.

6 Messages

 • 

100 Points

17 days ago

I experience the sort function as limitedly functioning;

 

When I search for 'starts with' ('begint met' in Dutch) it still shows items with the second word matching too. Meaning I cannot search specifically, although the menu suggests you can search on starts with, contains, contains all etc.

 

Note: This comment was created from a merged conversation originally titled Lightroom Classic: Sort function in library does not function properly

226 Messages

 • 

3.9K Points

I think the issue is that LR in doing the search does not recognize a two/multiple word keyword as one keyword. You don't need to put commas between the keywords in searches, so LR is applying your "starts with" on both words in your keyword. 

Overall solution is to not have any multiple word keywords. Use underscores or hyphens.

(That being the case as "do as I say, not as I do" as I have lots of multiple word keywords that cause issues. Some day I will fix them all.....😀

488 Messages

 • 

12.3K Points

yes, same here - still in process of hyphenating thousands of keywords. 

Use hyphen or underscore as keyword name as Jim suggested (e.g., Notre-Dame) and put name with spaces in as Synonm (e.g., Notre Dame).  Then uncheck "export keyword" but keep "Export Synonym" checked.

6 Messages

 • 

100 Points

OK sounds like the search does not define the starting point well. Starts with and contains are not the same. Neither in keyword lists or else  An example:

I have pictures with Titles  'Waterhoen' and  others with 'Amerikaans Waterhoen'. If I search for Starts with: Waterhoen, both pictures will be found, like happens when I search with 'contains Waterhoen'.

My conclusion is that that is just a bug. If 'contains' means the same as 'starts with' I am out.

Cheers,

Louis   

Champion

 • 

5.4K Messages

 • 

95.8K Points

LR used to get Starts With and Ends With wrong for most fields (e.g. Filename and Keywords).  But this was (mostly) fixed a couple or three years ago, except for Title.

If Starts With or Ends With doesn't work properly for a field other than Title, please start a new bug report, with precise details.

Champion

 • 

3.2K Messages

 • 

56.8K Points

Like John said, in the Title field Lightroom searches on individual words, not on entire sentences. Whether that is a bug or a logical difference between a plain text field and a (multi-word) keywords field could be debated. ‘Contains’ and ‘Starts with’ are still not the same, however, also not in the Title field. Contains ‘water’ will find ‘water’, ‘waterhoen’ and ‘leidingwater’. Starts with ‘water’ will only find ‘water’ and ‘waterhoen’, not ‘leidingwater’. And Contains words ‘water’ will only find ‘water’, not ‘waterhoen’ and not ‘leidingwater’.

Johan W. Elzenga,

http://www.johanfoto.com

Champion

 • 

5.4K Messages

 • 

95.8K Points

13 days ago

As you might expect , LR is inconsistent in how it treats Starts With and Ends With.

Starts/Ends With consider the entire field:

Keywords, Caption, Filename, Copy Name, Any Searchable Plug-in Field

Starts/Ends With consider individual words in the field:

Title, User Comment, IPTC (via Any Searchable Field)

I don't see any discernible rationale here. Why is Title different than Caption?

Note that LR treats Caption and IPTC Description as the same field, so Any Searchable Field Starts With will consider the entire string in Description, not individual words. Also note that IPTC Extension isn't searchable via Any Searchable Field or Searchable Metadata.

Champion

 • 

3.2K Messages

 • 

56.8K Points

13 days ago

I agree. I think it makes sense for keywords, and you could argue that it would also make sense for title, but it certainly does not make sense for captions.

Johan W. Elzenga,

http://www.johanfoto.com