Skip to main content
shikamu
Known Participant
August 8, 2021
Question

Text case sensitive search

  • August 8, 2021
  • 7 replies
  • 1444 views

I am using the current LR Classic 10.3 on Win10.  Is there a way to use the text search and make it case sensitive?  For example, if I want to search for BIG I don't want to get big, Big, biG, etc.  I just want BIG.

This topic has been closed for replies.

7 replies

johnrellis
Legend
October 27, 2021

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

As you've discovered, LR generally ignores case in filters and smart collections. That has nothing to do with the underlying operating system -- it's a design choice from the earliest days of LR.

 

The Any Filter plugin does let you do case-sensitive searching using the "matches" operator, e.g.

 

It's reasonably fast, searching 36K photos in about 5 seconds.

 

Any Filter uses a Metadata browser column to display its search results, which avoids a longstanding LR bug with plugins creating large collections. By default it resets any existing columns, but you can tell Any Filter to add its column to the end of the existing columns:

 

You can uncheck the option "Show results using a Library filter", in which case Any Filter won't use the Metadata browser at all, saving the results as a collection instead.  But if there are more than 1K to 2K search results, it could take a very long time for LR to create the collection on behalf of the plugin, due to the aforementioned bug.

 

Regarding catalog updating, here's what the Install instructions say: When you first install Any Filter, "Lightroom will present a scary-looking, cryptic message: 'Your catalog must be updated before it can be used with the following plugin'. Click Update Catalog. This warning is harmless and is shown for plugins that store their own data in the catalog (which is many of them)—but don’t worry, Lightroom ensures such plugins can’t corrupt your catalog."

 

 

shikamu
shikamuAuthor
Known Participant
October 26, 2021

After reading the new stuff in LrC 11 it appears that this small, very useful feature was not added. 😞

shikamu
shikamuAuthor
Known Participant
August 11, 2021

I put in a new feature request to have an Ignore case option added to Lightroom:

 

https://feedback.photoshop.com/conversations/lightroom-classic/lightroom-classic-please-add-case-sensitive-text-search/61124f8de7ad7876d4377187 

 

If you would like to see this added then please go there and up vote. 🙂  Thank you.

shikamu
shikamuAuthor
Known Participant
August 9, 2021

I am trying to post a message that contains 2 small JPEGs (18kb each, 792x99 pixels each), but it won't allow me to post the message.  I embedded the small images using the Insert Photos icon.  Any ideas?

shikamu
shikamuAuthor
Known Participant
August 9, 2021

This is what, I think, Adobe should do. Here is a very quick and dirty mockup where I added the Ignore case option on the left side for text searches:

 

 

If you want case insensitive searches (what you get now) then check the option. Adobe could even make it already checked by default:

 

 

I think this is a trivial thing for Adobe to do when they do their SQL queries on the catalog. It is really surprising that they seem to not already have it since in almost all programs that do any text searching it is a standard option.

GoldingD
Legend
August 8, 2021
shikamu
shikamuAuthor
Known Participant
August 8, 2021

Thank you!  I will check out that plugin.

GoldingD
Legend
August 8, 2021

LrC uses your OS file manager for that, just like it uses your OS file manager to display the Folders panel. So, if the OS does not support that, then no.

 

And their is no option, well in the Windows version, to search on exact text, just Contains, Contains All, Dosen't Contain, Starts With, and Ends With.

 

shikamu
shikamuAuthor
Known Participant
August 8, 2021

Okay, but I find it surprising that Lightroom is using the OS file manager to search for keywords, captions, etc. in my LR catalog.  Are you sure about this?

 

How about for the other things such as Attributes (color labels, star ratings, etc.) and Metadata?  Does LR not look through its own catalog for that, but instead uses some OS function to do it?

 

It is my understanding (but I may be wrong) that the catalog is a SQL db and that LR uses SQLite so I had expected that LR creates SQL queries to access the catalog.  It is surprising to me to learn that LR uses the OS to search through the LR catalog.

shikamu
shikamuAuthor
Known Participant
August 8, 2021

No one knows how to do this?