
extended-search-20120330.20.zip
· FAQ
· Version History
· Update Log via RSS
· Installation instructions
· “Donationware” Registration Info
· More Lightroom Goodies
· All-Plugin Update Log via RSS
· My Photo-Tech Posts
· My Blog
This plugin fills in some gaps in Adobe Lightroom's image-search capabilities.
This plugin works in Lightroom 4, Lightroom 3, and Lightroom 2. (Though for Lightroom 3, you must have at least version 3.5)
The same download works for both Windows and Mac. See the box to the upper right for the download link link (in orange) and installation instructions.
Note: a Lightroom major upgrade, such as from Lr3 to Lr4, de-registers the plugin in the upgraded version, thus requiring a new (1-cent if you like) registration code in the upgraded version. It makes for a hassle every couple of years, I know. Sorry. See this note for details.
Lightroom offers a number of ways to search for images with its Library Grid filter; this plugin adds a few more. Invoking it via the File > Plugin Extras > Extended Search menu item, a dialog is brought up allowing various search criteria to be entered.

(docs continued below where we have more room)
Text searching allows finding....
| images whose | filename
filename without extension leaf folder name copy name title caption scene |
+ | is exactly
starts with ends with contains is not does not start with does not end with does not contain |
+ | the text
any of the comma-separated items any of the space-separated items any of the line-separated items |
entered in the box |
Large amounts of text can be cut-n-pasted into the text-input box. In the example dialog screenshot above, I've pasted in the base filenames of 692 images (Lightroom's text-input box doesn't show a scrollbar, but you can use the arrow keys to move around inside.) I had used these images in the construction of a big photo book, and wanted to mark them as such in Lightroom, but until I wrote this plugin, I had no easy way to isolate just those images.
Other search criteria, which may be used along with (or instead of) the text search, include items related to cropping, virtual copies, and stacks.
How it Works
It would be nice if the plugin could just show you the images that matched, but Lightroom's plugin infrastructure doesn't allow for that, so like my proximity-search plugin, you have to jump through a few hoops.
First, before starting a search, you must be in the Library Mode (Grid Mode recommended) with no images selected. You can use the Control-D / Command-D keyboard shortcut to deselect all images. All images showing in the grid/filmstrip will be searched.
Bring up the extended-search dialog (File > Plugin Extras > Extended Search, or, enable plugin keyboard shortcuts to buy yourself some sanity), enter your search parameters, and start the search.
Finally, after the search completes, you'll need to use the “Extended Search” metadata item in the Library Grid filter to isolate the matched images, as illustrated here:

If you had been using the metadata filter for other things (e.g. to search only a range of dates), you can simply add “Extended Search” to a column at the end.
Select “Match” to par down the grid to just those images that matched. In the example above, selecting “Match” would isolate the matching 693 images in the grid.
However...
Nasty Lightroom Bug!
There is a most unfortunate bug that sometimes shows up such that even though the “Match” line is selected, the proper images won't show up in the grid or filmstrip. I haven't figured out what causes it, and I can go for a long time without ever hitting it, then suddenly I'll hit it often.
The search does work, and the filter header is updated (that is, the number of “Match” and “no match” items will be correct), but the bug is that something, sometimes, gets confused between there and the grid. One manifestation of this is that the number of photos identified in the filmstrip header (the red arrow in the screenshot below) differs from the “Match” items, even when “Match” is selected in the filter.

In this example the numbers match and there is no bug, but if they differ, you must restart Lightroom and suddenly the grid will be populated properly.
It's very frustrating; I've sent a note to Adobe, and hope this bug will be fixed in some future version of Lightroom.
Availability
This plugin is distributed as “donationware”. I have chosen to make it available for free — everyone can use it forever, without cost of any kind — but unless registered, its functionality is somewhat reduced after six weeks.
Registration is done via PayPal, and if you choose to register, it costs the minimum 1-cent PayPal fee; any amount you'd like to add beyond PayPal's sliding fees as a gift to me is completely optional, and completely appreciated.
For details on plugin registration and on how I came into this hobby of Lightroom plugin development, see my Plugin Registration page.
Version History
(
Update Log via RSS
)
| 20120330.20 | Update to handle 4.1RC |
| 20120309.19 | Had broken registrations in Lr2; Update to the debug logging to better track down timing issues that might arise. |
| 20120304.18 |
More on the march toward Lr4, including upheaval in the code to handle Lightroom APIs being discontinued in Lr4. |
| 20120114.17 | More tweaks for Lr4b |
| 20120112.16 |
Update for Lr4 beta: explain in the plugin manager that the plugin can't be registered in the beta. |
| 20111210.15 |
Had issues with the registration button sometimes not showing. When doing a plugin upgrade, offer the ability to flush all the old copies of the plugin. Added a system-clock check and reports to the user if the system clock is more than a minute out of date. An incorrect system clock can cause problems with various kinds of communication and authentication with some of my plugins, so I've just gone ahead and added this to every plugin. |
| 20110810.14 | Added the ability to filter on a specific aspect ratio. |
| 20110620.13 | New build. |
| 20101028.12 | In Lr3, now updates the grid filter to display the results of the search. |
| 20100829.11 | Made the revalidation process much simpler, doing away with the silly need for a revalidation file. |
| 20100820.10 | Discovered a bug in my plugin build system that caused horribly difficult-to-track-down errors in one plugin, so am pushing out rebuilt versions of all plugins just in case. |
| 20100625.9 | Yikes, shaking out some more build issues. |
| 20100624.8 | Discovered a nasty build bug; pushing a new version in case it affects this plugin. |
| 20100516.7 | Update for the Lr3 beta. |
| 20100315.6 |
Completely changed how the one-click upgrade applies the newly-downloaded zip file, in the hopes that it'll work for more people. Rather than unzipping over the old copy, it now unzips to a temporary folder, then moves the old folder out of the way and the new folder into place. Prior versions' folders are now maintained (with the version number in the folder) in case you want to revert a version; you may want to clear them out from time to time. Of course, it won't take affect until you try to upgrade after having upgraded to or beyond this version. Wholesale changes that attempt to honor the user's locale settings for numeric display (e.g. Europeans writing 3,14156 for pi). I've probably missed some spots, so let me know if you find some. |
| 20091214.5 | Added the "image size" row, where you can search via file size on disk, or post-crop size in megapixels (the latter offering a fine-grained search complement to my megapixel-sort plugin. |
| 20091205.4 | Minor internal debugging tweaks. |
| 20091202.3 | Added an Exposure-Bias row, and fixed a bug that caused the search to fail if the text row was not included in the search. |
| 20091022.2 | Added a first draft of some rudimentary support for Lightroom 3 Beta. See this important note about plugin support in Lightroom 3 Beta and Lightroom 3, including future plans for features and my registration system. |
| 20091017.1 | Initial public release. |
Wonderfully useful plugin!
Any plans on expanding the searchable fields to EXIF data and adding support for numeric value operations (less than, greater than, between, etc.)?
Specifically, I would love to have the ability to search/filter by focal length ranges. Your Data Plot plugin is terrific, but a way to actually see what pics go with each range would be highly useful.
Judging by the posts on your Megapixel Sort Plugin page, as well as rumblings on various online forums, it seems I’m not alone in thinking the focal length range search to be a killer feature. It wouldn’t be quite as elegant as a dedicated plugin due to lack of multiple range support, but the versatility allowed by the general nature of the plugin would more than make up for it.
Thanks again for your efforts!
That’s a good idea… I’ll see what I can do. —Jeffrey
I’ve encountered a similar bug wherein images don’t show up in the grid. It usually happens when moving files around, and may have something to do with moving files while showing contents of sub-folders too. I wonder if the bug is related to this one.
Thanks Jeffrey for your nice plugins.
Is there a way you can incorporate into your “extended search” plugin the ability to search pictures uploaded to facebook via your facebook plugin?
I’m not sure what you mean… you can already pick “Uploaded to Facebook” in the grid filter… is there something else you’re looking for? —Jeffrey
Thanks so much.
I didn’t realize it was already in the grid filter. Simple and elegant.
Continue the good work.
Thanks so much for adding exposure-bias to the search. It’s a huge time-saver tracking down un-tagged HDR or bracketed images.
I gave it a quick write-up on my blog.
Chris
Wow! Great! I actually arrived to your site, while looking for a database schema of the lrcat, as I needed it for something very similar to this: I want to be able to move Picasa’s “starred” marks over to Lightroom in some fashion (don’t ask, I have a twisted workflow, but I like it
) and was contemplating writing a python script for that. I might still do that sometime, but this really gets me there today (the other half was basically done – getting the list of starred files from Picasa). Thanks!
Hi Jeffrey,
I am writing from the San Francisco Bay Area. Since you have written several expanded search programs for Lightroom 2.x I wanted to ask you if there is any way to search for original raw files in the catalog that have had no modifications made to them, i.e. have only been imported? Also is there a way to search for particular presets that have been applyed to images? I created a custom sharpening preset that I applyed to some images that is too strong and I would like to search for only those and apply a lesser amount. Thanks, Larry
It’s not possible in LR2, but will likely be possible in LR3 to find images whose settings exactly match those in a preset. It’s not possible to inspect a photo’s history with a plugin, so once further adjustments have been made after applying a preset, a plugin won’t be able to find the connection. —Jeffrey
Just wanted to thank you for the plugin. I’ve been experimenting with HDR using bracketed shots and was going nuts trying to find a way to search for those shots. being able to use Exposure Bias as a search parameter really helped a lot!
Love your plug-in! It saves me so much time finding selected photos of brides! Thank you so so much!!!
Thank you for the plugin. I need to make searchable the “category” and “other categories ” fileds in the IPTC data. Is it possible? Thenks – Max
No, sorry, plugins can’t do that. I know that the Lr4 beta has some extra sortable metadata, so perhaps check that out as a preview of what to expect, and if something you want is not there, submit a feature request. —Jeffrey