1. A method performed by one or more devices, the method comprising: identifying, by one or more processors of the one or more devices, a plurality of documents, a first document, of the identified plurality of documents, being linked to by a second document, of the identified plurality of documents, the second document and a third document, of the identified plurality of documents, being in a set of affiliated documents; calculating, by one or more processors of the one or more devices, a first value for each document in the set of affiliated documents, calculating the first value for each document in the set of affiliated documents being based on: a ranking score of the document, and a number of outbound links from the document; determining, by one or more processors of the one or more devices, that the first value calculated for the third document is a maximum of the first values calculated for each document in the set of affiliated documents; assigning, by one or more processors of the one or more devices, a ranking score to the first document based on the first value calculated for the third document; and storing, by one or more processors of the one or more devices, the ranking score.