calvin_hilton_6078502's profile

25 Messages

 • 

450 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

 • 

6K Messages

 • 

103.5K Points

1 y 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.

25 Messages

 • 

450 Points

1 y 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

 • 

6K Messages

 • 

103.5K Points

1 y 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

8 m 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

Champion

 • 

6K Messages

 • 

103.5K Points

8 m 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.7K Messages

 • 

61K Points

8 m 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.