Patent ID: 8489591

Claim:
A computer-implemented method, comprising: receiving, at a computer system and from a remote device, a search query input by a user of the remote device; determining, for the search query, a location indicia that indicates a correlation of the search query to location-specific search results, wherein the location indicia was generated by a machine learning system that had been trained with previously-received search queries; in response to determining based on the location indicia that the search query is highly correlated to location-specific search results, transmitting a message to the remote device requesting user input comprising an indication of a location; receiving the indication of the location from the user; determining a local result set responsive to the search query, the local result set being generated based at least in part on the search query and the location; determining one or more non-local result sets responsive to the search query, the one or more non-local results sets being generated based at least in part on the search query but not based on the location; formatting a message that includes content for transmission to the remote device, the content including at least one of the local result set and the one or more non-local result sets; and transmitting the message to the remote device.