1. A computer including a data storage device including a computer usable medium having computer usable code means for ranking documents in a set of documents in response to a query, the computer usable code means having: computer readable code means for identifying a reference to a second document in a first document; computer readable code means for receiving a lexical distance, the lexical distance defining a number of document terms; computer readable code means for receiving a query including one or more query terms; and computer readable code means for determining a number of times at least one of the query terms is present in the first document within the lexical distance of the reference to the second document, for ranking the documents based thereon.