1. A method for a search engine to rank a set of pages returned as search results from a search query, the method comprising: receiving a search query and a first origin page, the search query including one or more keywords, wherein the first origin page is chosen based on information associated with the search query; generating set of search results based on the one or more keywords; calculating a click distance from the first origin page to each page returned in the set, wherein the click distance represents the number of intermediate pages that a user would need to traverse in order to progress from the first origin page to a page in the set of search results; and ranking the set of search results based on the calculated click distance from the first origin page to each page in the set of results.