1. A method comprising: receiving, by at least one of one or more server devices and from a client, a search query; receiving, by at least one of the one or more server devices and from the client, information identifying a document, the document being associated with context information; obtaining, by at least one of the one or more server devices, search results based on the search query, the search results identifying documents relevant to the search query; analyzing, by at least one of the one or more server devices, the context information to identify content; generating, by at least one of the one or more server devices, a plurality of first scores for a hierarchy of topics, each first score, of the plurality of first scores, corresponding to a respective measure of relevance of each topic, of the hierarchy of topics, to the content; selecting, by at least one of the one or more server devices, a topic, of the hierarchy of topics, as being most relevant to the context information when the topic is associated with a greatest first score of the plurality of first scores; generating, by at least one of the one or more server devices, a plurality of second scores for the search results, each second score, of the plurality of second scores, corresponding to a respective measure of relevance, of each of the search results, to the topic; selecting, by at least one of the one or more server devices, one or more of the search results, as a selected one or more search results, as being most relevant to the topic when the one or more of the search results are associated with one or more greatest second scores, of the plurality of second scores; generating, by at least one of the one or more server devices, a search result document that includes the selected one or more search results; and providing, for presentation and by at least one of the one or more server devices, the generated search result document including the selected one or more search results.
9. The method of claim 1 , where generating the plurality of first scores further includes: identifying a respective quantity of terms, within the content, that matches each topic and subtopic of the hierarchy of topics; assigning scores to each topic based on the respective quantity of terms that matches each of the topics and subtopics; generating a respective combined score, for each of the topics, based on a combination of a respective first one of the scores assigned to each topic and one or more respective second ones of the scores assigned to each subtopic that is associated with the each topic; and identifying the topic with a greatest combined score, of the respective combined score for each other topic of the hierarchy of topics, where, when providing for presentation the generated search result document, the method includes: providing, for presentation, the generated search result document that includes the selected one or more search results that are relevant to the topic with the greatest combined score.