1. A method, comprising: ascertaining an intent of a query; 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; and ranking the plurality of lines of text according to the determined relevance of each of the plurality of lines of text.