Randomized algorithms and introduction to information retrieval