Contextual search for location services
First Claim
1. A method comprising:
- receiving a location search request from a client device specifying a search query;
identifying, for a search context and at each search level, a percentage of locations historically selected by users within a historical geohash corresponding to a historical request location at the geohash level;
selecting a geohash level from a plurality of hierarchical geohash levels, the selection being based on the percentage for that geohash level and the search context describing one or more parameters of the location search request, each level of the plurality of hierarchical geohash levels being associated with a different area size and a set of geohashes, each geohash being associated with geographic locations within a geographic area having the area size of the geohash level, the geographic locations indexed with respect to indices at multiple geohash levels;
identifying a set of candidate locations for the search query based on a first geohash for a location of the client device at the selected geohash level, the set of candidate locations determined from an index of the selected geohash level and the identified percentage of locations; and
providing the set of candidate locations to the client device.
5 Assignments
0 Petitions
Accused Products
Abstract
A travel coordination system identifies geographic locations responsive to a location search request. The geographic locations are organized into a plurality of hierarchical geohash levels, each geohash level mapping the geographic location into a geohash of a different area. The locations search request designates a search context for the search, such as whether the user is searching for an origin of a trip or a destination. The context of the search can be used to determine a geohash level for selecting candidate search results. The candidate search results may be scored based on the context using prior user selections and trips scheduled with the trip coordination system. A geohash and context associated with the user'"'"'s request may be used to modify a scoring function of the candidate search results based on prior trips.
13 Citations
15 Claims
-
1. A method comprising:
-
receiving a location search request from a client device specifying a search query; identifying, for a search context and at each search level, a percentage of locations historically selected by users within a historical geohash corresponding to a historical request location at the geohash level; selecting a geohash level from a plurality of hierarchical geohash levels, the selection being based on the percentage for that geohash level and the search context describing one or more parameters of the location search request, each level of the plurality of hierarchical geohash levels being associated with a different area size and a set of geohashes, each geohash being associated with geographic locations within a geographic area having the area size of the geohash level, the geographic locations indexed with respect to indices at multiple geohash levels; identifying a set of candidate locations for the search query based on a first geohash for a location of the client device at the selected geohash level, the set of candidate locations determined from an index of the selected geohash level and the identified percentage of locations; and providing the set of candidate locations to the client device. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
receiving a location search request from a client device specifying a search query; identifying a search context for the client device describing one or more parameters of the location search request; identifying a user geohash corresponding to a location of the client device from a set of geohashes, each geohash being associated with geographic locations within a geographic area; identifying a set of candidate locations for the search query; determining a scoring function that assesses the probability of the user selecting a candidate location based at least in part on the distance of the user geohash to the candidate location, wherein the scoring function is based on a distribution of trip distances, the distribution selected based on the search context at the user geohash; scoring each candidate location from the set of candidate locations using the scoring function; and providing the set of candidate locations to the client device. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
Specification