Author Topic: Search function issue  (Read 5861 times)

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Search function issue
« on: September 07, 2015, 11:47:38 PM »
Hello,
i recently found out that the search function based on "Captured Exactly" does not return any image when it's performed within a folder containing JPG photos only, while it works with RAW files.
All the photos have been converted by Lightroom as usual, and i can see that all the IPTC values are still there, including the Time and Date value.
I attach a screenshot of the IPTC Info panel of one of those files which cannot be found, taken both from the jpg and the RAW versions.
Any suggestions?
Thanks,
Carlo

[attachment deleted by admin]

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #1 on: September 08, 2015, 07:01:00 AM »
Carlo,

i recently found out that the search function based on "Captured Exactly" does not return any image when it's performed within a folder containing JPG photos only, while it works with RAW files.
All the photos have been converted by Lightroom as usual, and i can see that all the IPTC values are still there, including the Time and Date value.
I attach a screenshot of the IPTC Info panel of one of those files which cannot be found, taken both from the jpg and the RAW versions.

Thanks for the screenshots.  What I'd like to see is the parameters in the dialog you're using to perform the search.  Take a screen shot of the dialog and post it here, please.

-Kirk

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #2 on: September 08, 2015, 10:41:48 AM »
Hi Kirk,
here's the screenshot.
Thanks

[attachment deleted by admin]

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #3 on: September 08, 2015, 11:11:54 AM »
here's the screenshot.

Are the JPEGs and the RAWs in the same folder you limited your search?

-Kirk

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #4 on: September 08, 2015, 11:18:29 AM »
no, i never keep them together.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #5 on: September 08, 2015, 11:47:22 AM »
Then you'll have to have your path limits include the folder that the JPEGs are stored within or the Search won't consider your JPEGs as matches for your query.

-Kirk

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #6 on: September 08, 2015, 11:54:34 AM »
That's what i do actually, the path of the search always goes and ends into a folder where only JPEGs are stored

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #7 on: September 08, 2015, 12:03:42 PM »
"Captured" searches for the EXIF capture time tag, and has nothing to do with the date show in the IPTC dialogs.  Are you sure the Capture Time of your JPEGs match your query date?  What does the {date} variable show for the images in question?  (You can put the {date} in your Info Text by going to Edit->Settings->Set Info Text... and entering it there.  Then when you show Image tooltips or go into the Preview window, you'll see the Capture Date.

-Kirk

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #8 on: September 08, 2015, 12:18:24 PM »
Yes Kirk, the date is correct, see the attachments.
This is the info displayed for one of the photos that are stored inside a folder with jpgs only, and some hundreds of them have been taken on august 25th. If i perform the search in a folder with exactly the same images, but RAW, all is ok...

[attachment deleted by admin]

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #9 on: September 08, 2015, 01:27:51 PM »
Yes Kirk, the date is correct, see the attachments.
This is the info displayed for one of the photos that are stored inside a folder with jpgs only, and some hundreds of them have been taken on august 25th. If i perform the search in a folder with exactly the same images, but RAW, all is ok...

Hmm.  We use Apple's Spotlight for doing the searches.  What happens if you use the Spotlight widget from the Finder (upper right corner of your menubar, which looks like a magnifying glass)?  Does it find your images?

-Kirk

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #10 on: September 08, 2015, 01:43:17 PM »
what should i type there? it's a blank field. i tried to use the search function in finder, but the "captured" option does not exist, only the "created", which is very much different

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #11 on: September 08, 2015, 03:09:16 PM »
Let's try this:

Open a Terminal window.  Then type "mdls " (without the quotes, that is type mdls and a space character with the spacebar.)  Then find your JPEG image with the Finder and drag and drop it onto the Terminal window.  (The path to the file should be entered for you.)  Then press enter/return.

Copy the text that appears and paste it in a reply here.  The item in question we're looking for is "kMDItemContentCreationDate".  If it does not exist, then Spotlight won't be able to find this image by Capture time.

Thanks,

-Kirk

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #12 on: September 08, 2015, 11:53:20 PM »
Hi Kirk, here's the text from the terminal window: unfortunately there's not the text you've mentioned, but only the creation date, that is the date when finder saw the file for the first time on this mac...

Last login: Tue Sep  8 08:15:15 on console
CaxBook:~ cax$ mdls /Users/cax/Dropbox/Barche/2015/SWS\ Shipyard/WEB\ NO\ LOGO/SWSCapeTown-0050-MAKA0050.jpg
_kTimeMachineIsCreationMarker  = 1
kMDItemAcquisitionMake         = "Canon"
kMDItemAcquisitionModel        = "Canon EOS 5D Mark III"
kMDItemAperture                = 4
kMDItemAuthors                 = (
    "Carlo Baroncini/Magdalena Kaczo\U0300wka"
)
kMDItemBitsPerSample           = 32
kMDItemCity                    = "Cape Town"
kMDItemColorSpace              = "RGB"
kMDItemContentCreationDate     = 2015-09-05 13:02:04 +0000
kMDItemContentModificationDate = 2015-09-05 13:02:04 +0000
kMDItemContentType             = "public.jpeg"
kMDItemContentTypeTree         = (
    "public.jpeg",
    "public.image",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemContributors            = (
    "Carlo Baroncini / Foto Arcobaleno"
)
kMDItemCopyright               = "© Carlo Baroncini Photography"
kMDItemCountry                 = "South Africa"
kMDItemCreator                 = "Adobe Photoshop CC 2015 (Macintosh)"
kMDItemDateAdded               = 2015-09-05 13:34:47 +0000
kMDItemDescription             = "24/08/15  Corporate Shooting @ Southern Wind Shipyard, Cape Town, 24-31 August 2015  © Carlo Baroncini Photography"
kMDItemDisplayName             = "SWSCapeTown-0050-MAKA0050.jpg"
kMDItemEXIFVersion             = "2.3"
kMDItemExposureMode            = 1
kMDItemExposureProgram         = 1
kMDItemExposureTimeSeconds     = 0.01666666666666667
kMDItemFlashOnOff              = 0
kMDItemFNumber                 = 4
kMDItemFocalLength             = 93
kMDItemFSContentChangeDate     = 2015-09-05 13:02:04 +0000
kMDItemFSCreationDate          = 2015-09-05 13:02:04 +0000
kMDItemFSCreatorCode           = "8BIM"
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 0
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "SWSCapeTown-0050-MAKA0050.jpg"
kMDItemFSNodeCount             = (null)
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 534445
kMDItemFSTypeCode              = "JPEG"
kMDItemHasAlphaChannel         = 0
kMDItemHeadline                = "SWSCapeTown-0130"
kMDItemInstructions            = "All images property of Carlo Baroncini  Photography. Only personal and editorial usage permitted. Commercial usage strictly forbidden."
kMDItemISOSpeed                = 1600
kMDItemKeywords                = (
    Corporate,
    Shipyard,
    Superyacht
)
kMDItemKind                    = "Immagine JPEG"
kMDItemLogicalSize             = 534445
kMDItemOrientation             = 0
kMDItemPhysicalSize            = 536576
kMDItemPixelCount              = 1091840
kMDItemPixelHeight             = 853
kMDItemPixelWidth              = 1280
kMDItemProfileName             = "sRGB IEC61966-2.1"
kMDItemRedEyeOnOff             = 0
kMDItemResolutionHeightDPI     = 72
kMDItemResolutionWidthDPI      = 72
kMDItemTitle                   = "SWS Shipyard"
kMDItemWhiteBalance            = 0
CaxBook:~ cax$

Offline fotobarone

  • Member
  • **
  • Posts: 59
    • View Profile
Re: Search function issue
« Reply #13 on: September 08, 2015, 11:57:00 PM »
This is the text from the terminal window for the raw file of the same photo: it seems as the "kMDItemContentCreationDate" value got lost during the jpg conversion...?!?

Last login: Wed Sep  9 08:54:56 on ttys000
CaxBook:~ cax$ mdls /Users/cax/Pictures/Barche/2015/SWS\ Shipyard/RAW/24\ August\ Monday/OK_1/OK_1/SWSCapeTown-0050-MAKA0050.cr2
_kTimeMachineIsCreationMarker  = 1
kMDItemAcquisitionMake         = "Canon"
kMDItemAcquisitionModel        = "Canon EOS 5D Mark III"
kMDItemAperture                = 4
kMDItemAuthors                 = (
    "Carlo Baroncini/Magdalena Kaczo\U0300wka"
)
kMDItemBitsPerSample           = 64
kMDItemCity                    = "Cape Town"
kMDItemColorSpace              = "RGB"
kMDItemContentCreationDate     = 2015-08-24 11:54:08 +0000
kMDItemContentModificationDate = 2015-08-28 20:48:33 +0000
kMDItemContentType             = "com.canon.cr2-raw-image"
kMDItemContentTypeTree         = (
    "com.canon.cr2-raw-image",
    "public.camera-raw-image",
    "public.image",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemContributors            = (
    "Carlo Baroncini / Foto Arcobaleno"
)
kMDItemCopyright               = "© Carlo Baroncini Photography"
kMDItemCountry                 = "South Africa"
kMDItemDateAdded               = 2015-09-01 19:30:58 +0000
kMDItemDescription             = "24/08/15 Corporate Shooting Southern Wind Shipyard,  Cape Town, 20-24 July 2015 © Carlo Baroncini Photography"
kMDItemDisplayName             = "SWSCapeTown-0050-MAKA0050.cr2"
kMDItemEXIFVersion             = "2.3"
kMDItemExposureMode            = 1
kMDItemExposureProgram         = 1
kMDItemExposureTimeSeconds     = 0.01666666666666667
kMDItemFlashOnOff              = 0
kMDItemFNumber                 = 4
kMDItemFocalLength             = 93
kMDItemFSContentChangeDate     = 2015-08-28 20:48:33 +0000
kMDItemFSCreationDate          = 2015-08-24 11:54:08 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 0
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "SWSCapeTown-0050-MAKA0050.cr2"
kMDItemFSNodeCount             = (null)
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 29958375
kMDItemFSTypeCode              = "CR2 "
kMDItemHasAlphaChannel         = 0
kMDItemHeadline                = "SWSCapeTown-0050"
kMDItemInstructions            = "All images property of Carlo Baroncini  Photography. Only personal and editorial usage permitted. Commercial usage strictly forbidden."
kMDItemISOSpeed                = 1600
kMDItemKeywords                = (
    Superyacht,
    Shipyard,
    Corporate
)
kMDItemKind                    = "Canon Camera Raw file"
kMDItemLogicalSize             = 29958375
kMDItemOrientation             = 0
kMDItemPhysicalSize            = 29962240
kMDItemPixelCount              = 22118400
kMDItemPixelHeight             = 3840
kMDItemPixelWidth              = 5760
kMDItemProfileName             = "Adobe RGB (1998)"
kMDItemRedEyeOnOff             = 0
kMDItemResolutionHeightDPI     = 0
kMDItemResolutionWidthDPI      = 0
kMDItemTitle                   = "SWS Shipyard"
kMDItemWhiteBalance            = 0
CaxBook:~ cax$

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24134
    • View Profile
    • Camera Bits, Inc.
Re: Search function issue
« Reply #14 on: September 09, 2015, 09:02:38 AM »
This is the text from the terminal window for the raw file of the same photo: it seems as the "kMDItemContentCreationDate" value got lost during the jpg conversion...?!?

Last login: Wed Sep  9 08:54:56 on ttys000
CaxBook:~ cax$ mdls /Users/cax/Pictures/Barche/2015/SWS\ Shipyard/RAW/24\ August\ Monday/OK_1/OK_1/SWSCapeTown-0050-MAKA0050.cr2
kMDItemContentCreationDate     = 2015-08-24 11:54:08 +0000

No, it's right there.  But look at the date.  It is the 24th and not the 25th.  I expect that if you change your search to be 8/24/2015, you'll see your JPEGs.  Now, as to why this is happening?  I have no idea.

-Kirk