Skip to main content
johnrellis
Legend
Dec 20, 2011 9:59 PM UTC
Released

P: Issue in text filter Caption Ends With

The text filter:

Caption Ends With "ab"

matches a photo with caption "xab" but not with caption "aab".

27 replies

johnrellis
Legend
Mar 14, 2017 3:41 PM UTC
Kirby, this bug was first reported over five years ago and acknowledged by Adobe two years ago.  Let's hope the recent refiling of the bug report spurs a fix!
Translate
johnrellis
Legend
Mar 14, 2017 3:38 PM UTC
In the merged thread, Rikk Flohr, Company Admin, wrote:

I am able to duplicate this behavior. A bug is filed. 
Translate
johnrellis
Legend
Mar 14, 2017 3:37 PM UTC
In the merged thread, kirbykrieger wrote:

*kirbykrieger MemberThis bug remains in Lightroom CC 2015.9.

Please see thread I started on Lightroomforums.net.  Confirmed by two top users.

The Smart Collection Rule:

{Keywords}{ends with}{string}

fails to match Photos with keywords that end with "xstring" where "x" is the same letter as the first letter in "string".

I am emigrating large databases from Aperture to Lightroom (happily, until this tripped me) that use sets of Smart Collections based on sets of keywords that carry one of a small often-used group of suffixes and prefixes.  This bug breaks my system.  Other than reporting it here, is there anything I can do to help resolve it?

(I have edited dozens of Smart Collections to use "tring" instead of "string" where the first letter of "string" follows an identical letter.  This short-term solution works for now, but it introduces an inconsistency that will cause bigger problems down the road, and is cumbersome to implement.)
Translate
Inspiring
Mar 14, 2017 3:35 PM UTC


In Lightroom 5.2 64-bit when I set up smart collections based on "Keyword ends with" I notice that some pictures are not being selected where the keyword has a double letter, e.g. "East Sutton" is not matched when I select "Keyword ends with 'ton'" whereas it is found if I change the keyword to "East Suton". A possible bug or a misunderstanding on my part?
Translate
Known Participant
May 7, 2015 4:37 AM UTC
This bug still exists in LR 6.0.1 / OS X 10.10.3.
Translate
areohbee
Legend
Apr 26, 2013 10:26 PM UTC
Thanks John. Not comprehensive, like AnyFilter, but may do for some cases...
Translate
johnrellis
Legend
Apr 26, 2013 3:52 PM UTC
That's very simple!
Translate
areohbee
Legend
Apr 26, 2013 10:25 AM UTC
TextMeta offers a solution for searching a limited subset of metadata with spaces (e.g. file name, folder path, title, caption, ...) by replacing spaces with something else (in a shadow-copy available as custom metadata). Such massaged metadata is available for library filters and/or smart collections.

For example, if you specify spaces to be replaced by underscore, then

'THE END' would be stored as 'THE_END', which even by Lightroom native handling, starts with 'THE' and ends with 'END'.
Translate
areohbee
Legend
Apr 24, 2013 10:10 PM UTC
To be clear: Lr divides metadata up into words (with space as delimiter) *BEFORE* testing for matches. It then tests each word independently of the rest.

So 'THE END' starts with 'END' and ends with 'THE'.

Note: due to bug, the aformentioned can not be found at all when using "contains words" (see "big mallard ducks" bug).

This is one of my pet peeves in Lightroom:

Spaces are allowed *as data* but are treated *as separator*.

It's just wrong...

In the mean time, consider using AnyFilter
(or SpaceUrchin, if you're weird, like me)
if you need to search for metadata with spaces in it.

Rob
Translate
areohbee
Legend
Apr 24, 2013 10:09 PM UTC
To be clear: Lr divides metadata up into words (with space as delimiter) *BEFORE* testing for matches. It then tests each word independently of the rest.

So 'THE END' starts with 'END' and ends with 'THE'.

Note: due to bug, the aformentioned can not be found at all when using "contains words" (see "big mallard ducks" bug).

This is one of my pet peeves in Lightroom:

Spaces are allowed *as data* but are treated *as separator*.

It's just wrong...

In the mean time, consider using AnyFilter
(or SpaceUrchin, if you're weird, like me)
if you need to search for metadata with spaces in it.

Rob
Translate