1. A computer-implemented method comprising: receiving a search query; obtaining a candidate set of search results that correspond to the search query; obtaining an indication that the search query is classified as including query terms that (i) do not likely relate to a particular class of people, (ii) likely relate to the particular class of people, or (iii) likely relate to the particular class of people and include sensitive or offensive terms; obtaining, for each search result in the candidate set of search results, an indication that the search result is classified as likely including (i) non-sensitive and non-offensive content, or (ii) sensitive or offensive content; generating a relevance score for a document corresponding to each search result in the candidate set of search results, the relevance score being indicative of a relevance of the document to the search query; determining a ranking for each search result in the candidate set of search results; receiving user session data that include one or more attributes of a user device; selecting, from among the candidate set of search results, a presentation set of search results based at least on (I) the indication that the search query is classified as including query terms that (i) are not likely related to the particular class of people, (ii) are likely related to the particular class of people, or (iii) are likely related to the particular class of people and include sensitive or offensive terms, and (II) the indication that the search result is classified as likely including (i) non-sensitive and non-offensive content, or (ii) sensitive or offensive content, wherein selecting, from among the candidate set of search results, the presentation set of search results comprises: modifying rankings of one or more search results in the candidate set of search results based on the user session data that includes the one or more attributes of the user device; and for each document corresponding to a search result: assigning a label to the document based at least on the indication that the search result is classified as including sensitive or offensive content, the label being indicative of subject matter included in the document; and determining to filter the search result or modify the ranking of the search result based on the assigned label; and providing one or more search results of the presentation set of search results for output in response to the search query.