1. A method for providing a response to a query comprising: receiving the query from a user device operated by a user, the query comprising one or more query tokens; determining one or more candidate location tokens from the one or more query tokens; generating a relevance score for each of the one or more candidate location tokens; determining a target location based on the relevance scores, the candidate location tokens, and a geodata index; determining a query classification using the one or more query tokens and a domain index; selecting a plurality of query response candidates from a content index based on the query classification and the target location, each query response candidate comprising a document associated with a location, and wherein selecting a plurality of query response candidates from a content index based on the query classification and the target location, further comprises: determining a search radius distance based on the query classification, wherein the search radius distance is dependent on the query classification such that a query response is relevant for a particular search type, and wherein the search radius distance is preset by a server based on a distance the user expects to travel to the target location; determining if a document in the content index is associated with a location that is within the search radius distance of the target location; and selecting the document based at least in part on the determination that it is associated with a location that is within the search radius distance of the target location; generating a relevance score for each of the plurality of query response candidates; selecting a query response from the plurality of query response candidates based on their relevance scores; and sending the selected query response to the user device.
1. A method for providing a response to a query comprising: receiving the query from a user device operated by a user, the query comprising one or more query tokens; determining one or more candidate location tokens from the one or more query tokens; generating a relevance score for each of the one or more candidate location tokens; determining a target location based on the relevance scores, the candidate location tokens, and a geodata index; determining a query classification using the one or more query tokens and a domain index; selecting a plurality of query response candidates from a content index based on the query classification and the target location, each query response candidate comprising a document associated with a location, and wherein selecting a plurality of query response candidates from a content index based on the query classification and the target location, further comprises: determining a search radius distance based on the query classification, wherein the search radius distance is dependent on the query classification such that a query response is relevant for a particular search type, and wherein the search radius distance is preset by a server based on a distance the user expects to travel to the target location; determining if a document in the content index is associated with a location that is within the search radius distance of the target location; and selecting the document based at least in part on the determination that it is associated with a location that is within the search radius distance of the target location; generating a relevance score for each of the plurality of query response candidates; selecting a query response from the plurality of query response candidates based on their relevance scores; and sending the selected query response to the user device. 6. The method of claim 1 , wherein sending the selected query response to the user device, further comprises sending a reference to a document to the user device.