18. A computer-readable medium storing thereon computer-readable instructions, comprising: instructions for ascertaining an intent of a query; instructions for determining a relevance of each one of a plurality of lines of text of a document based upon the intent of the query, content of the query, and content of each of the plurality of lines of text, wherein the document is a single search result returned in response to the query; instructions for ranking the plurality of lines of text according to the determined relevance of each of the plurality of lines of text; and instructions for generating a summary of the single search result using a subset of the plurality of lines of text based upon the ranking of the plurality of lines of text.
18. A computer-readable medium storing thereon computer-readable instructions, comprising: instructions for ascertaining an intent of a query; instructions for determining a relevance of each one of a plurality of lines of text of a document based upon the intent of the query, content of the query, and content of each of the plurality of lines of text, wherein the document is a single search result returned in response to the query; instructions for ranking the plurality of lines of text according to the determined relevance of each of the plurality of lines of text; and instructions for generating a summary of the single search result using a subset of the plurality of lines of text based upon the ranking of the plurality of lines of text. 20. The computer-readable medium as recited in claim 18 , wherein the instructions for determining a relevance of each one of a plurality of lines of text of a document based upon the intent of the query, content of the query, and content of each of the plurality of lines of text comprises: instructions for determining a query-independent relevance of each of the plurality of lines of text in the document; instructions for determining a query-dependent relevance of each of the plurality of lines of text in the document; and instructions for calculating the relevance of each one of the plurality of lines of text based upon the intent of the query, the query independent relevance of the one of the plurality of lines of text in the document and the query dependent relevance of the one of the plurality of lines of text in the document.