1. A method comprising, by one or more computing devices: accessing a first set of queries of an online social network received from one or more users of the online social network; retrieving, for each query of the first set of queries, a first number of objects that match at least a portion of the query from one or more data stores, each data store storing one or more objects associated with the online social network, wherein each object is associated with a pre-determined static-score based on a static-scoring algorithm, and wherein retrieving the first number of objects is based on the static-scores of the objects; calculating, for each query, a final-score for each retrieved object based on a final-scoring algorithm; and determining one or more revised static-scores for one or more of the retrieved objects based on a comparison of the final-scores and the static-scores of the retrieved objects.