Patent ID: 8856115

Claim:
A computer-implemented method comprising: determining a general location and a specific location for a client device interacting with a search engine, wherein the general location comprises a region containing the specific location, and wherein the specific location is determined using at least one of prior queries from the client device and user profile information; and while receiving a query stem in a search engine query input field of the search engine user interface presented on the client device, and before receiving an input submitting the query stem as a query to the search engine: obtaining, in a data processing system, a plurality of general queries containing the query stem, each general query having a first quality measure in reference to the general location; obtaining, in a data processing system, a plurality of local queries containing the query stem, each local query having a second quality measure in reference to the specific location; combining at least one of the plurality of general queries and at least one of the plurality of local queries into a plurality of combined queries, the combined queries having a presentation order based on the respective quality measures of the queries; and presenting the queries via the client device.