1. A method performed by one or more server devices, the method comprising: receiving, at one or more processors of the one or more server devices, a query, from a client device, the query including one or more terms; identifying, by one or more processors of the one or more server devices, words related to the one or more terms of the query, the words related to the one or more terms of the query including synonyms of the one or more terms of the query; determining, by one or more processors of the one or more server devices, whether the query is a commercial query by: comparing the one or more terms of the query, in any order, to words in a commercial query pattern in a list of commercial query patterns; comparing the one or more terms of the query, in any order, to words related to the words in the commercial query pattern, comparing the words related to the one or more terms of the query to words in the commercial query pattern in the list of commercial query patterns, comparing the words related to the one or more terms of the query to words related to the words in the commercial query pattern, and identifying the query as a commercial query when at least one of: the one or more terms of the query, in any order, match the words in the commercial query pattern, the one or more terms of the query, in any order, match the words related to the words in the commercial query pattern, the words related to the one or more terms of the query match the words in the commercial query pattern, or the words related to the one or more terms of the query match the words related to the words in the commercial query pattern; and processing, by one or more processors of the one or more server devices, the query in a first manner based on determining that the query is not a commercial query; the query being processed in a second manner based on determining that the query is a commercial query, the second manner being different from the first manner.