PRAM/NVRAM has nothing to do with Spotlight. Resetting it will not help. What probably helped is you restarting your Mac, with or without resetting NVRAM.Hi,
I had a malfunctioning Spotlight.
After zapping the PRAM, it seems to work again.
If Spotlight isn't working properly, try re-indexing your drive:
If that fails to index, enter the following command in Terminal:
sudo mdutil -i on "/Volumes/your drive name"