1. A computer-implemented method, comprising: obtaining one or more query terms in a first query; and for each of the one or more query terms: searching a standardized entity taxonomy to locate a standardized entity that most closely matches the query term, the standardized entity taxonomy comprising an entity identification for each of a plurality of different standardized entities; calculating a confidence score for a query term-standardized entity pair for the standardized entity that most closely matches the query term; in response to a determination that the confidence score transgresses a threshold, associating the query term with the entity identification corresponding to the standardized entity that most closely matches the query term; retrieving one or more query rewriting rules corresponding to an entity type of the standardized entity having the entity identification; and executing the one or more query rewriting rules to rewrite the first query such that the rewritten query is more restrictive than the first query.
1. A computer-implemented method, comprising: obtaining one or more query terms in a first query; and for each of the one or more query terms: searching a standardized entity taxonomy to locate a standardized entity that most closely matches the query term, the standardized entity taxonomy comprising an entity identification for each of a plurality of different standardized entities; calculating a confidence score for a query term-standardized entity pair for the standardized entity that most closely matches the query term; in response to a determination that the confidence score transgresses a threshold, associating the query term with the entity identification corresponding to the standardized entity that most closely matches the query term; retrieving one or more query rewriting rules corresponding to an entity type of the standardized entity having the entity identification; and executing the one or more query rewriting rules to rewrite the first query such that the rewritten query is more restrictive than the first query. 7. The method of claim 1 , wherein the confidence score indicates a statistical likelihood that a user specifying the query term in a search query would have, under ideal circumstances, also entered the corresponding standardized entity in the search query, based on a confidence score model trained via a machine learning algorithm based on member profiles and member activities in a social networking service.