Author Topic: Cannot find images using keyword search in PM  (Read 5139 times)

Offline myotis

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Cannot find images using keyword search in PM
« on: January 12, 2014, 07:07:57 AM »
I am using PM 5 15077, on mountain Lion.

I am adding IPTC data using the "i" in the thumbnail to open the dialog box, adding some information in the caption and location fields, and pressing the Save&-> button to move onto the next images, before closing the dialog box.

I have the IPTC/XMP preferences set to "adobe"

If I shut down the IPTC dialog box and reopen it the keywords I have just added are still there.

BUT if I quicksearch or use Find, to look for these keywords, no images are found.

If I then move to Lightroom, and drill down the metatdata for the same folder of images I just keworded in PM, I can find the images in lightroom using the keywords.

Has anyone any dea what I am doing wrong in PM.

Thanks,

Graham

Offline Kevin M. Cox

  • Hero Member
  • *****
  • Posts: 544
  • PM 2024.10 (8173) | macOS 15.1
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: Cannot find images using keyword search in PM
« Reply #1 on: January 12, 2014, 02:59:41 PM »
The search functionality of PM relies on OS X's built in Spotlight. Do you have the photos saved in a location that doesn't allow Spotlight indexing by chance?
Kevin M. Cox | Photojournalist
https://www.instagram.com/kevin.m.cox/

Offline Luiz Muzzi

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • Luiz Muzzi Photography
Re: Cannot find images using keyword search in PM
« Reply #2 on: January 12, 2014, 03:57:55 PM »
Hi, Graham
Something similar happened to me. I had to reindex Spotlight. In my case I used the method described below and it worked just fine.
http://osxdaily.com/2012/01/17/rebuild-spotlight-index/
HTH,

-Luiz Muzzi


Offline myotis

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Re: Cannot find images using keyword search in PM
« Reply #3 on: January 13, 2014, 12:50:30 AM »
Thanks both,

Files are on the Mac hard drive, so should be findable, I am now rebuilding the spotlight index.

In 14 hours ! I will let you know if this has fixed the problem.

Cheers,

Graham

Offline myotis

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Re: Cannot find images using keyword search in PM
« Reply #4 on: January 13, 2014, 11:20:28 AM »
Unfortunately, rebuilding the spotlight index has made no difference.

There is obviously something bizarre going on, as I am finding two images from several years ago, with same location info that I am searching on, but none of the 13 that I added the same location to, over the weekend.

All  13 are being found in Lightroom.

Any other thoughts.

Thanks,

Graham

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Cannot find images using keyword search in PM
« Reply #5 on: January 13, 2014, 11:58:42 AM »
Graham,

Unfortunately, rebuilding the spotlight index has made no difference.

There is obviously something bizarre going on, as I am finding two images from several years ago, with same location info that I am searching on, but none of the 13 that I added the same location to, over the weekend.

All  13 are being found in Lightroom.

Any other thoughts.

If you perform a search with the Spotlight menu from the Finder, do your images show up as search results?

-Kirk

Offline myotis

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Re: Cannot find images using keyword search in PM
« Reply #6 on: January 13, 2014, 12:16:10 PM »
Hello Kirk,

The XMP files are found, but not the RW2 files in Finder

For the older image that PM is finding both the XMP and NEF files in Finder.

So I suspect here in lies a clue as to what is happening.

Thanks,

Graham

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Cannot find images using keyword search in PM
« Reply #7 on: January 13, 2014, 12:31:01 PM »
Graham,

The XMP files are found, but not the RW2 files in Finder

For the older image that PM is finding both the XMP and NEF files in Finder.

So I suspect here in lies a clue as to what is happening.

Spotlight doesn't associate XMP sidecar files with any particular image file type.  Embedding XMP into RAW files will solve this problem but cause you problems with Lightroom so we don't recommend it.

-Kirk

Offline myotis

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Re: Cannot find images using keyword search in PM
« Reply #8 on: January 13, 2014, 12:36:31 PM »
Hello Kirk,

So does that mean, if I have PM set up to integrate with Adobe (lightroom) I can't use the search tools in PM.

I had kind of assumed that PM would search the XMP files, which PM would associate with the associated Raw file.

Cheers,

Graham

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Cannot find images using keyword search in PM
« Reply #9 on: January 13, 2014, 02:04:10 PM »
Graham,

So does that mean, if I have PM set up to integrate with Adobe (lightroom) I can't use the search tools in PM.

Search would not work, but Find should (but you have to open the folder first).

I had kind of assumed that PM would search the XMP files, which PM would associate with the associated Raw file.

Photo Mechanic would have to guess which files may be present that match up with a given XMP file.  For instance if Spotlight tells PM that an XMP file contains your search terms, PM would have to start searching the folder containing the XMP file for a matching "owner" file.  It could be a CR2, NEF, ORF, RW2, ..., the list goes on for several dozen filename extensions that PM supports.  We could try doing that, but the performance isn't likely to be stellar since we would just have to query the filesystem for the existence of files.  Or we could get the entire directory contents and do our own lookups.  But at this time such a feature is not implemented.

-Kirk

Offline myotis

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Re: Cannot find images using keyword search in PM
« Reply #10 on: January 13, 2014, 02:15:34 PM »
Thanks Kirk,

I now follow what is going on, if I open a folder and subfolders, and then do a find, all the relevant images are selected.


Cheers,

Graham