2 Replies Latest reply on Apr 22, 2017 3:02 PM by daruniek

    Smart Collection - by Keywords - bug


      Here is the bug/problem I currently have with creating smart collections by Keyword:



      When I create collection by -> keyword -> contains all -> Evelyn - 5th Birthday

      in the results I get photos that also contain following keywords:

      • Evelyn - 15th Birthday
      • Evelyn - 115th Birthday
      • Evelyn - 1155th Birthday
      • Evelyn - 1515th Birthday
      • etc...
      • any-name - 5th Birthday (only photos where Evelyn is recognized in "People" section.)


      when I try this combination:

      keyword -> contains all -> Evelyn - 5th Birthday

      keyword -> doesn't contain -> Evelyn - 15th Birthday

      Results are 0


      But when I use a keyword to show me only Evelyn - 5th Birthday - then photos are displayed correctly.

      From what I can tell it must be a glitch in the programming when creating a smart collection by keywords. System is not looking "ONLY" at the EXACT match (which should), but instead, it looks at all the parts of the keyword and brings similar results... in this example it seems that results are generated by everything that has Evelyn, 5, 1, Birthday also that is assigned to People with name Evelyn...


      anyone any suggestions?

      Maybe someone from @Adobe team -  please try tag few photos with same keywords to see what I'm going through

      Maybe it's just me and my catalog?


      Please advice if you have a solution

      thank you


      p.s. if not then I'm back to using just "dumb" collections lol

        • 1. Re: Smart Collection - by Keywords - bug
          johnrellis Most Valuable Participant

          The smart-collection text operators are, in the opinion of many, poorly designed, but they are behaving as designed.  See here for the help on text filters: How to find photos in a catalog in Lightroom .

          keywords -> contains all -> Evelyn - 5th Birthday

          This finds all photos whose keywords collectively contain the sequences "Evelyn", "-", "5th", and "Birthday".  Each of those sequences can be embedded anywhere in the keywords, e.g. if "5th" is embedded in "15th", it matches.   Note that if you had two separate keywords assigned to a photo, "Evelyn" and "115th", that would still match.

          keywords -> doesn't contain -> Evelyn - 15th Birthday

          This finds all photos whose keywords collectively contain none of the sequences "Evelyn", "-", "15th", or "Birthday" embedded anywhere in any of its keywords.  That's why you got 0 results. 


          To the chagrin of many users, LR doesn't have exact match for many text fields, including most especially keywords.  There a few workarounds:


          - Use "contains words", which requires that the keywords collectively contain all of the given sequences as "words" (space-separated sequences).  So "contains words Evelyn - 5th Birthday" won't match "Evelyn - 115th Birthday".   This usually gets the job done, or close enough for government work.  Note that there isn't a "doesn't contain words".


          - Use the Library Filter bar's Metadata browser, with the Keyword column.  Selecting multiple keywords in a column gives you the boolean "or" of the keywords, and adding multiple Keyword columns gives boolean "and".   You can save filter presets just like smart collections, and filters have the advantage of being limited to the currently selected folder or collection.


          - For more complicated filtering, use the Any Filter plugin.


          Finally, please add your me-too vote and detailed opinion to this feature request in the official Adobe feedback forum: Lightroom: Exact text match in smart collections and filters, including matching spaces | Photoshop Family Customer Comm…

          2 people found this helpful
          • 2. Re: Smart Collection - by Keywords - bug
            daruniek Level 1

            Great, it gave me an idea...

            to fix my issue I just need to get rid of the spaces... need to update all keywords.


            ex: Evelyn - 5th Birthday -> Evelyn_5th_Birthday


            and the problem is gone.

            Thanks for your suggestions!