Author Topic: Change Where Search Looks  (Read 5543 times)

Offline mhedstrom

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Change Where Search Looks
« on: May 21, 2007, 08:06:11 PM »
Hi, this is with PM 4.5.1.1 on my Mac.

I've got all my photos stored on a mounted network drive, and none that matter on my computer. If I use the "search", "find" , or "quick search", those just search my computer, not the mounted network drive.  Is there any way to change this? Or is there a way for me to search over my mounted drive on the photos there (like I'd like to find the photos containing keyword "Michelle" or something).  Thanks.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Change Where Search Looks
« Reply #1 on: May 21, 2007, 08:41:52 PM »
Hi, this is with PM 4.5.1.1 on my Mac.

I've got all my photos stored on a mounted network drive, and none that matter on my computer. If I use the "search", "find" , or "quick search", those just search my computer, not the mounted network drive.  Is there any way to change this? Or is there a way for me to search over my mounted drive on the photos there (like I'd like to find the photos containing keyword "Michelle" or something).  Thanks.

The underlying technology (Spotlight) does not work on network volumes.  There is currently no way to overcome that obstacle that I know of.

-Kirk

Offline mhedstrom

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Re: Change Where Search Looks
« Reply #2 on: May 21, 2007, 09:11:01 PM »
I just kind of got it to work.  If I open a terminal window, and type

mdutil /Volumes/IMAGES -i on

Spotlight actually indexed the drive. 

I confirmed via:

danieljackson: root# mdutil /Volumes/IMAGES/ -s
/Volumes/IMAGES/:
        Status: Indexing Enabled

If I then, in the Finder, hit Apple-F to get the Find window, and selected the Images drive, I was getting instantaneous results (that is using Spotlight, isn't it?)

Apparently the page I found says you have to reindex everytime you re-mount the drive if you want the search to work, but I'm guessing there's a script someplace on that page or somewhere else that will do that automatically for you.

http://www.macosxhints.com/article.php?story=20050430233117572

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Change Where Search Looks
« Reply #3 on: May 21, 2007, 09:14:02 PM »
I just kind of got it to work.  If I open a terminal window, and type

mdutil /Volumes/IMAGES -i on

Spotlight actually indexed the drive. 

I confirmed via:

danieljackson: root# mdutil /Volumes/IMAGES/ -s
/Volumes/IMAGES/:
        Status: Indexing Enabled

If I then, in the Finder, hit Apple-F to get the Find window, and selected the Images drive, I was getting instantaneous results (that is using Spotlight, isn't it?)

Apparently the page I found says you have to reindex everytime you re-mount the drive if you want the search to work, but I'm guessing there's a script someplace on that page or somewhere else that will do that automatically for you.

http://www.macosxhints.com/article.php?story=20050430233117572

Neat.  Well I stand corrected.  But it can take hours and hours to index a large drive.  Best not to unmount it if possible.

-Kirk

Offline mhedstrom

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Re: Change Where Search Looks
« Reply #4 on: May 23, 2007, 12:44:25 PM »
I think the directions are off a bit. I unmounted the drive, remounted it, just had to turn indexing back on and it worked. However PM isn't picking up the index so I can't search that drive.  Is there a way to make it selectable so I can search it (kind of like how if I press Apple-F in the Finder, I get the find window and can search over my network drive index?).

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Change Where Search Looks
« Reply #5 on: May 23, 2007, 06:22:04 PM »
I think the directions are off a bit. I unmounted the drive, remounted it, just had to turn indexing back on and it worked. However PM isn't picking up the index so I can't search that drive.  Is there a way to make it selectable so I can search it (kind of like how if I press Apple-F in the Finder, I get the find window and can search over my network drive index?).

We just make a query to Spotlight and it handles the rest.  It is similar to using the Spotlight menu in the upper right corner of the screen.  Does the Spotlight menu find items on your network drive?

-Kirk

Offline mhedstrom

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Re: Change Where Search Looks
« Reply #6 on: May 23, 2007, 09:32:36 PM »
I've been doing a bunch more reading on this, and everything I'm reading says that Spotlight searching/indexing of networked drives is bugged/doesn't work most times.  Is there any additional functionality you would consider adding to PM, or suggestions you could give me to be able to do a keyword search of my photos?  Moving them onto my hard drive isn't an option, and I don't want to get the Windows version when I love my Mac too much (and besides, I already bought the Mac version).  Or have you seen any other software which will do IPTC keyword searches?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Change Where Search Looks
« Reply #7 on: May 24, 2007, 06:31:02 AM »
I've been doing a bunch more reading on this, and everything I'm reading says that Spotlight searching/indexing of networked drives is bugged/doesn't work most times.  Is there any additional functionality you would consider adding to PM, or suggestions you could give me to be able to do a keyword search of my photos?  Moving them onto my hard drive isn't an option, and I don't want to get the Windows version when I love my Mac too much (and besides, I already bought the Mac version).  Or have you seen any other software which will do IPTC keyword searches?

Cataloging applications do exactly what you're looking for.  There are two major players in this category on Mac OS X: iView MediaPro, and Extensis Portfolio.

We are also adding a cataloging module to Photo Mechanic in our next major version.  But I don't have a release date yet.

-Kirk

Offline TimCaseyPhoto

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: Change Where Search Looks
« Reply #8 on: June 25, 2014, 03:57:43 PM »
I'm having the same difficulties as the original poster was 7 years ago.

I can't find any information about how to search filenames, metadata, exif, itpc, etc. from files on a network volume.

Has this problem been solved yet?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Change Where Search Looks
« Reply #9 on: June 25, 2014, 04:34:36 PM »
I'm having the same difficulties as the original poster was 7 years ago.

I can't find any information about how to search filenames, metadata, exif, itpc, etc. from files on a network volume.

Has this problem been solved yet?

Spotlight does not search index network volumes from client computers.  If your server volume is hosted on a Mac OS X system, it is possible to get the server itself to maintain the Spotlight index: http://support.apple.com/kb/PH8444

-Kirk

Offline TimCaseyPhoto

  • Newcomer
  • *
  • Posts: 23
    • View Profile
Re: Change Where Search Looks
« Reply #10 on: June 26, 2014, 02:08:18 PM »
Thanks. It seems that this will be a major IT project. I hoped to be able to get a system in place by September, but it looks like it's going to be a lot more complicated.