A method of searching a database of documents, wherein the method includes
performing a search of the database using a query to produce query result
documents; constructing a word dictionary of words within the query
result documents; constructing an out-link dictionary of documents within
the database that are pointed to by the query result documents; adding
the query result documents to the out-link dictionary; constructing an
in-link dictionary of documents within the database that point to the
query result documents; and adding the query result documents to the
in-link dictionary.