Generating inverted index using Mapreduce Framework