PageRank function in Search updated to handle publication dates