1. A method performed by one or more server devices, the method comprising: identifying, by at least one of the one or more server devices, a webpage that is relevant to a search query; identifying, by at least one of the one or more server devices, a first snippet for the webpage and a second snippet for the webpage, the first snippet being generated using titles for a plurality of sub-pages corresponding to the webpage, the webpage and the plurality of sub-pages being associated with a same web site, the second snippet being generated based on text from the webpage; determining, by at least one of the one or more server devices, a measure of relevance of the first snippet to the webpage; determining, by at least one of the one or more server devices, a measure of relevance of the second snippet to the webpage, wherein the measure of relevance of the second snippet to the webpage is based on one or more meta-descriptions associated with the webpage; and providing, by at least one of the one or more server devices, a search result document that includes one of the first snippet or the second snippet, the first snippet being included in the search result document when the measure of relevance of the first snippet to the webpage exceeds the measure of relevance of the second snippet to the webpage, the second snippet being included in the search result document when the measure of relevance of the second snippet to the webpage exceeds the measure of relevance of the first snippet to the webpage.