Analysis and evaluation of query reformulations in different task types