Systems and methods improve search rankings for a search query by using
location data associated with queries and documents related to the search
query. In one aspect, a search query is received, a location score is
determined, a topical score is determined, and an ordering of documents
related to the search query is determined based, at least in part, on the
location score and the topical score.