Adapting information retrieval to user signals via stochastic models