How Social Media Affects Search