Mean Field Approach to Probabilistic Models in Information Retrieval