Spotlight icon missing on Yosemite
Hope this works for you it did for me!
Use Terminal

sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search


Then type in the following command:

killall SystemUIServer


After issuing these two commands, you'll notice that the Spotlight application will re-appear in the menubar of OS X.