Well yes your quite correct, although I feel your splitting hairs, the point I was trying to make is the fact that search is broken, and Mountain Lion does not fix this unlike what Mojo66 claims.
The thread originally was about Lion, so the link does pertain to the spirit of the thread.
The Free App 'Easy Find" works a treat for me every time and I recomend people install and use that as a get you going solution, as you know were on 10.8 and its still not fixed, and I don't know if Apple are even working on a fix, I think they must be aware of the problem after this amount of time.
Remember, after using the said command, sudo mdutil -i on you SHOULD NOT change the name of the volume you ran this command against because it is stored locally and refers back to it.
Also, you should click the spotlight icon and you should observer the "Indexing (name of drive)" and the barber pole indicating the index.
You can also that your drive is indexing by running this command:
lsof | grep /Volumes/
If you repeat the lsof command every now and again you will find that mdworker is accessing the volume that is being indexed.
PS I never expoerienced this issue in Snow Leopard at all and I was connected to about 100 different remote servers and search always worked there. I don't know what Apple changed in 10.7 and 10.8 (if it was or is affected)
Hope this helps.
The process that "LostAccount" is reporting does not work for me.
After sudo mdutil -i on /Volumes/Data, the barber pole does not appear on the spotlight menu item, and "lsof | grep /Volumes/" does not list mdworker.
Too bad.. :-(
I would be very interested in knowing if other people can report if 10.8.1 works in this case. For me, too, if it does, that's a good enough justification for me to buy it.
Just updated to 10.8.1 as well ... Spotlight is still NOT searching my NAS, or mounted NAS Volumes.
Maybe I'm missing somthing here?
Also mdutil fails as well:
sudo mdutil -i on /Volumes/<server>/<share>/
Error: unable to perform operation. (-400)
Error: unknown indexing state.
Your issue is peculiar alright
I am not sure which device you have but considering how little specifics I have other than the issue you report, I wonder if this article is relative or not. http://support.apple.com/kb/HT4700 (Connecting to legacy AFP services)
Also, if possible, I would connect that device directly to your mac to ***** whether you can search when it's connected directly.
Also, you should perhaps try an FTP server or other SMB/AFP connection types to see if they work. It would be a good idea to isolate the issue by testing against other configurations.
As an FYI, I updated to 10.8.1 which yielded a restart and I continue to have no issues. My setup is a bunch of hard drives attached to a USB hub which is in turn connected to the USB port of an airport extreme which is extending an Airport Express's network.
I mounted my "Music" drive and searched for "abc". In a matter of seconds I got my results up on screen.
Please submit any further information here or contact AppleCare. If you purchased Mountain Lion remember that it enjoys 90 days of technical support from the date of purchase you purchased Mountain Lion on.
For the time being, you may want to try:
sudo mdutil -i off (the path to your NAS drive)
You can leave a space after the word 'off ' and then drag and drop the NAS drive icon into the terminal window to complete the path for you.
sudo mdutil -i on (the path to your NAS drive)
I will be happy to help in anyway I can and I hope this helps.
Before 10.8.1 I could not use finder search, and now I can. The Spotlight search is another beast altogether--one I do not usually use. It is true that I can't just use a single search for everything on my network. But, for me, I know what computer and drive certain types of files are kept, so the ability to use Finder Search and a nifty app called Alfred (works like a powerful Spotlight Search) do seem to work just fine now. Also, as my network does not have a central NAS, I don't know if the .1 upgrade works for searches there.