Scope: To speed up the results of when searching through network volumes connected to mac clients.
Prerequisites: MAC client, Connected Network Volume (Specifically SMB shares as Spotlight in MAC OS doesn’t support SMB shares)
Once you are connected to an SMB share, open up a terminal window.
To enable spotlight indexing on a network drive type the following command:
mdutil /Volumes/name -i on
To check the status of indexing on a connected network drive type the following commands:
mdutil /Volumes/name -s
Once the indexing is complete, searching network volumes, specifically SMB shares should yield much quicker results