Several TSers have complained about
Yosemite responding/running slowly. <
This MacIssues article> suggests some steps that should help, if it is caused by Spotlight. You may not
know Spotlight is the cause, but a quick check with
Activity Monitor will point the 'fickle finger' and the solution in the article should help.
This is a quick read and it could affect older OS versions, as well.