filtering one word vs multi word keyword

  • 2
  • Question
  • Updated 10 months ago
Merged

This conversation has been merged. Please reference the main conversation: Lightroom: Exact text match in smart collections and filters, including matching spaces

I suspect there is a simple solution for this, but as an example, if I have a key word "estate" and another one "real estate" and a third "MacKenzie King Estate". When I do a search/filter for "estate" I get all three whether I uses "contain"/"contain all"/"contain words".

Are there special characters I can use to select the images with the single word keyword "estate"??

Or am I stuck with getting them all or dreaming up a new set of one word keywords?

Thanks
Photo of Jim Robertson

Jim Robertson

  • 74 Posts
  • 15 Reply Likes

Posted 10 months ago

  • 2
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 2261 Posts
  • 936 Reply Likes
No, there are no special characters to do this. But you can search on a combination of 'Does contain Estate' and 'Does not contain real and King'. There is a special character for 'does not contain' and that is putting an exclamation point in front of the word, so the following search should give you want you want:

Keyword <contains words> Estate !Real !King
Photo of Jim Robertson

Jim Robertson

  • 74 Posts
  • 15 Reply Likes
Thanks John. I use the "!" all the time, I never clued into using it that way. Duh!!!
Photo of Dan Hartford Photo

Dan Hartford Photo

  • 335 Posts
  • 154 Reply Likes
Actually this is a great request and one I've wished for many many times.  Specifically allow text if text filters to use quote marks.  So, for example one could then filter for "Estate" which would only return images that had a keyword of exactly "estate" (not Real Estate for example).  It would also allow filtering for multi word keywords.  For example filter for <contains> "MacKenzie King Estate" would return images that have that exact keyword and would not also return images that have just one of the words or even images that have all 3 words spread out over mutiple keywords.
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 2249 Posts
  • 933 Reply Likes
For example filter for <contains> "MacKenzie King Estate" would return images that have that exact keyword and would not also return images that have just one of the words or even images that have all 3 words spread out over multiple keywords.

If you use <contains all> it should not return images with just one of the three words, but it will indeed return images that have all three words spread out over multiple keywords. The reason is that Lightroom does not understand keyword phrases. Even though you see the phrase in the keyword list, Lightroom considers them as separate keywords when you do a search.

This can even lead to impossible searches. Try searching for 'John Doe' images, if you also have 'Jane Doe' and 'John Smith' images. You may think that is possible using my method with exclamation points, so you search for 'John Doe !Jane !Smith', but that means you will not find any picture of John and Jane Doe together, or John Doe and John Smith together, or all three of them together...

The only way to solve this is to use (non-exporting) synonyms, and create JohnDoe, JaneDoe and JohnSmith synonyms. Then you can search on the synonym JohnDoe.
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 2249 Posts
  • 933 Reply Likes
By the way: there is a way to search on a single keyword phrase only. Hover your cursor over the keyword phrase in the keyword list. You will see an arrow appear behind the keyword. Click on this arrow and Lightroom will correctly find only this keyword phrase. Same thing if you open the filter bar, select keywords, and select the keyword manually in the list there. Not very convenient, but it does work.
Photo of Jim Robertson

Jim Robertson

  • 74 Posts
  • 15 Reply Likes
Yes those way do work John for sure. Not as convenient and doesn't come to mind right away as I do that type of filtering rarely, usually for some other reason than dealing with a multi word keyword
Photo of Jim Robertson

Jim Robertson

  • 74 Posts
  • 15 Reply Likes
Your comment two above is a good one. I have run into that before. I might retroactively go in and change multi word keywords that cause filtering issues to non spaced words.

Off topic but I have discovered that filtering on keywords starting with a special character is less than satisfactory. E.G. I have  "#tag" as keyword, when I filter for "#tag" it gives me none. but if I filter for "tag" then the #tag'ed ones come up.

Obviously I won't be using a special character again !!
Photo of Jim Robertson

Jim Robertson

  • 74 Posts
  • 15 Reply Likes
I tried the quotes Dan, but no joy. It would great if it did, but John's suggestion of using the "!" works fine
Photo of Dan Hartford Photo

Dan Hartford Photo

  • 335 Posts
  • 154 Reply Likes
Yeah,  the quotes is an idea I'd like to see implemented - not currently in the product

This conversation is no longer open for comments or replies.