Indexing and caching strategy for local queries
First Claim
1. A computer-implemented system that facilitates caching of local results for location-based queries, comprising:
- a cache with a plurality of bags stored therein,wherein each respective bag stores results of a previous location-based query in a location-independent manner while still preserving geographic location information associated with the previous location-based query,wherein each respective bag is associated with a location-independent key that relates to a search string of the previous location-based query that returned the results stored in the bag, andwherein the results stored in each respective bag are documents that include the location-independent key and are ranked in order based upon at least one of criteria of the previous location-based query or a document ID; and
a search component that;
receives a location-based query,generates a location-independent search string key by removing geographic location information from the received location-based query while still preserving the geographic location information,selects a subset of the plurality of bags in the cache in which the location-independent key associated with each respective bag matches the generated location-independent search-string key,selects a best bag from the selected subset of bags that stores the best available results for the received query by comparing the preserved geographic location information associated with each of the bags in the selected subset of bags to the preserved geographic location information of the received location-based query and identifying as the best bag the bag associated with a geographic location nearest to the geographic location associated with the received query,and returns a subset of results stored in the best bag when the best bag meets a threshold, even if the geographic location associated with the received location-based query is not an exact match with the geographic location associated with the best bag.
2 Assignments
0 Petitions
Accused Products
Abstract
The claimed subject matter relates to a computer-implemented architecture that can, at a high level, store query results in a location-independent manner in order to facilitate caching of local results. To store query results in a location-independent manner such that cached results to location-based queries can be useful, the architecture can further include a mechanism for encoding a surface or area (e.g., the earth) based upon document density rather than geography. The encoding mechanism can also organize an inverted index so that no join operation is required to return valid results to a location-based query. The architecture can also include a mechanism for determining when previously cached results are adequate to satisfy a query.
-
Citations
16 Claims
-
1. A computer-implemented system that facilitates caching of local results for location-based queries, comprising:
-
a cache with a plurality of bags stored therein, wherein each respective bag stores results of a previous location-based query in a location-independent manner while still preserving geographic location information associated with the previous location-based query, wherein each respective bag is associated with a location-independent key that relates to a search string of the previous location-based query that returned the results stored in the bag, and wherein the results stored in each respective bag are documents that include the location-independent key and are ranked in order based upon at least one of criteria of the previous location-based query or a document ID; and a search component that; receives a location-based query, generates a location-independent search string key by removing geographic location information from the received location-based query while still preserving the geographic location information, selects a subset of the plurality of bags in the cache in which the location-independent key associated with each respective bag matches the generated location-independent search-string key, selects a best bag from the selected subset of bags that stores the best available results for the received query by comparing the preserved geographic location information associated with each of the bags in the selected subset of bags to the preserved geographic location information of the received location-based query and identifying as the best bag the bag associated with a geographic location nearest to the geographic location associated with the received query, and returns a subset of results stored in the best bag when the best bag meets a threshold, even if the geographic location associated with the received location-based query is not an exact match with the geographic location associated with the best bag. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
Specification