Use an inverted file data structure and store page ranks.