After I installed Yosemite I got a notice saying that performance may suffer until my Mac is optimized. What exactly does it mean and do I have to do anything?
It's updating the Spotlight index.
There's nothing to do, just let it happen.
Try using below links, both worked well for me