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, that includes one or more terms; determining, by one or more processors of the one or more server devices, whether the query is a commercial query by: determining whether the one or more terms of the query, in any particular order, matches a commercial query pattern in a list of commercial query patterns, where the list of commercial query patterns includes patterns associated with one or more host names or domain names that include more than a particular number of hyphens, and identifying the query as a commercial query when the one or more terms of the query, in any particular order, matches the commercial query pattern in the list of commercial query patterns; processing, by one or more processors of the one or more server devices, the query in a first processing manner when the query is not determined to be a commercial query, where processing the query in the first processing manner includes ranking documents in a first ranking manner; and processing, by one or more processors of the one or more server devices, the query in a second, different processing manner in response to determining that the query is a commercial query, where processing the query in the second processing manner includes ranking documents in a second, different ranking manner.