Modelling the interaction in information retrieval