TABLE OF CONTENTS


The Search tab in Photo Mechanic Plus allows you to make a quick search for items in the selected catalog or catalogs. You can fine-tune searches using search semantics.

By default, a quick search searches through the bulleted metadata fields listed in the Searchable Fields... window.

For example, a search in this catalog for “hill” would find all photos with keywords that included “hill” as well as all photos that contained “Jason Hill Photography” in the byline and all photos that contained the letter sequence “hill” anywhere in the file name. 

To refine searches, you can search within one or more metadata fields, such as 

byline hill 

You can also find images that are missing metadata information, such as

keywords is empty

You can keep adding complexity with AND and OR statements such as 

byline "hill" and rating=5. 

You can also use parenthesis to group search criteria, similar to what you would do with mathematical equations. 

city "paris" AND (rating = 2 OR rating > 4)

More search options

Be sure to check out Example Searches to see examples of the Photo Mechanic Plus search query syntax. You can also find a list of searchable fields by going to Catalog>Searchable Fields...

Reuse Search Tabs: By default, searches reuse the same search tab so you don’t keep opening new tabs every time you search. You can uncheck this option if you want new tabs, such as when comparing results from searches.

Only Search Contact Sheet Items: Restrict your search to only items in a contact sheet. This option searches for cataloged items that meet your search criteria AND are only in your selected contact sheet. Items that are not in a catalog will not show up in search results. 

Use Case Sensitive Search: an option that lets you differentiate between words like Hill and hill in a search with case sensitivity. 

Note: restricting your search criteria by checking Only Search Contact Sheet Items, Use Case Sensitive Search or using AND queries will produce the same or fewer results. It may even produce no images. If you want to find more results, use OR statements instead.

Search examples

You can find these examples by navigating to Catalog>Search Examples... 

""Two quotes with nothing in between returns all images in every catalog that is currently searchable

keywords ocean beach pier

Keywords that contain all the terms: ocean, beach, and pier
keywords ocean or beach or pierKeywords that contain at least one of the terms: ocean, beach, or pier
city "new york"Assuming you do not have case sensitive search turned on, this search shows images with the exact phrase "new york" or "New York" in the city field.
Quotes surrounding the phrase keep the words in the phrase together, which means only results with New York rather than also showing items labeled New Haven or York.  Note that the city field is a multi-column alias.
byline caption"John Smith"Results with "John Smith" in either the byline or caption field. You can stack multiple fields this way, so long as they are the same type of field (eg all text fields or all numeric fields.) 
rating = 2 or rating> 4Ratings equal to 2 or greater than 4. 
rating<> 0The rating field is not zero.
locatiowithin 6.5mi of 40.730610, -73.935242GPS location is within 6.5 miles of the specified coordinate. Possible distance units are mi (miles) km (kilometers) ft (feet) and m (meters). 
caption is "The whole nine yards."The caption field contains the exact phrase The whole nine yards.
caption iemptyThe caption field contains no data. 
caption is not emptyThe caption field was not left blank.
collection vehicles/carsInclude results from the hierarchical collection vehicles/cars including any sub-collections.

Explicit dates and times

capturetime = 2004The capturetime field is within the year 2004.
capturetime<= 2004-12-03 12:34:56.789The capturetime field must be less than or equal to the specified time on the afternoon of December 3rd, 2004. 
capturetime between 2004 and 2005The capturetime field must be between year 2004 and 2005. 
capturetime between  2004-12 and 2005-1The capturetime field must be between December 2004 and January 2005. 
capturetime between 10:30 and 15:00The capturetime field must be between the times of 10:30 AM and 3:00 PM (in any timezone). 

Relative Dates and Times

capturetime todayDates and times can be relative to the present. You can also specify today, yesterday, or now.
The "ago" is optional and can be omitted.

capturetime > 3 months ago
capturetime<= 4 hours ago
capturetime between 5 days ago and today
capturetime between 6 weeks ago and 2 days ag
capturetime between yesterday and today
capturetime between 10 minutes ago and now

Advanced Syntax

(width >= 1280 and height >= 960) or (width <= 128 and height <= 64)

Parenthesis can be used for grouping and combining. 
caption ^"The quick brown fox"The ^ operator anchors the beginning of a field. In this case, the caption must start with the phase The quick brown fox. 
caption "the lazy dog."$The $ operator anchors at the end of a field.
The caption field must end with the phrase the lazy dog.
caption ^"The whole nine yards."$Both ^ and $ anchors can be combined.
In this case, the field must contain the exact phrase The whole nine yards. This is the same search as using 
caption is "The whole nine yards."
byline (?-i) StRiCt cAsE ignore caseSearches are not case sensitive by default or case insensitive. The (?-i) syntax turns this off and makes the search case sensitive, while (?i) returns to default case insensitive searches.

Reveal in context

This is a contextual menu command for search results items. Right-click on an item in search results to reveal this option. Using Reveal in context on a single image opens the folder the image resides within, selects it, and makes it visible.