Using external tasks in online search