Method and system for query data caching and optimization in a search engine system
First Claim
Patent Images
1. A method for searching a document database, comprising:
- receiving a search query;
returning a search result corresponding to the search query, including;
determining whether a cached query result corresponding to the search query is stored in a cache;
when the determining returns a negative result, generating a first search result in accordance with a first set of predetermined search criteria and returning as the search result at least a subset of the first search result;
when the determining returns a positive result;
accessing a reuse count of the cached search result, and determining a quality of the cached search result;
wherein the cached search result comprises a list of results that satisfy the search query, and the reuse count comprises a number of times that the list of results has been reused to respond to submissions of the search query;
when the reuse count is less than or equal to a predetermined threshold count or a quality indication of the cached search result does not meet predefined criteria, returning as the search result at least a subset of the cached search result;
when the reuse count is larger than the predetermined threshold count, and the quality indication meets the predefined criteria, generating an improved search result in accordance with a second set of predetermined search criteria using additional search resources, wherein the improved search result comprises an improved list of results that satisfy the search query, returning as the search result at least a subset of the improved search result, updating the cache with the improved search result, and updating the reuse count of the cached search result; and
when the reuse count is larger than the predetermined threshold count and the quality indication does not meet the predefined criteria and indicates that the cached search result is the improved search result corresponding to the search query, retrieving the improved search result from the cache, and returning as the search result at least a subset of the improved search result.
2 Assignments
0 Petitions
Accused Products
Abstract
When searching a document database in response to a search query, a determination is made as to whether a query result corresponding to the search query is stored in a cache. When the query result is stored in the cache, a reuse count for the search query is accessed. When predefined conditions are satisfied, such as the reuse count being larger than a predetermined threshold count, an improved search result is generated in accordance with a first set of predetermined searching criteria, and at least a subset of the improved search result is returned.
132 Citations
21 Claims
-
1. A method for searching a document database, comprising:
-
receiving a search query; returning a search result corresponding to the search query, including; determining whether a cached query result corresponding to the search query is stored in a cache; when the determining returns a negative result, generating a first search result in accordance with a first set of predetermined search criteria and returning as the search result at least a subset of the first search result; when the determining returns a positive result; accessing a reuse count of the cached search result, and determining a quality of the cached search result;
wherein the cached search result comprises a list of results that satisfy the search query, and the reuse count comprises a number of times that the list of results has been reused to respond to submissions of the search query;when the reuse count is less than or equal to a predetermined threshold count or a quality indication of the cached search result does not meet predefined criteria, returning as the search result at least a subset of the cached search result; when the reuse count is larger than the predetermined threshold count, and the quality indication meets the predefined criteria, generating an improved search result in accordance with a second set of predetermined search criteria using additional search resources, wherein the improved search result comprises an improved list of results that satisfy the search query, returning as the search result at least a subset of the improved search result, updating the cache with the improved search result, and updating the reuse count of the cached search result; and when the reuse count is larger than the predetermined threshold count and the quality indication does not meet the predefined criteria and indicates that the cached search result is the improved search result corresponding to the search query, retrieving the improved search result from the cache, and returning as the search result at least a subset of the improved search result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for searching a document database, comprising:
-
receiving a search query; returning a search result corresponding to the search query, including; determining whether a cached query result corresponding to the search query is stored in a cache; when the determining returns a negative result, generating a first search result in accordance with a first set of predetermined search criteria and returning as the search result at least a subset of the first search result; when the determining returns a positive result; accessing a reuse count of the cached search result, and determining a quality of the cached search result;
wherein the cached search result comprises a list of results that satisfy the search query, and the reuse count comprises a number of times that the list of results has been reused to respond to submissions of the search query;when the reuse count is less than or equal to a predetermined threshold count or a quality indication of the cached search result does not meet predefined criteria, returning as the search result at least a subset of the cached search result; and when the reuse count is larger than the predetermined threshold count, and the quality indication meets the predefined criteria, generating an improved search result in accordance with a second set of predetermined search criteria using additional search resources, wherein the improved search result comprises an improved list of results that satisfy the search query, and returning as the search result at least a subset of the improved search result, updating the cache with the improved search result, and updating the reuse count of the cached search result; when the cache is determined not to have stored therein the search result corresponding to the search query; generating a standard search result in accordance with the first set of predetermined search criteria; storing the standard search result in the cache; setting the reuse count of the cached search result to an initial value; and returning at least a subset of the standard search result; and when the determining returns a positive result and the reuse count is less than or equal to the predetermined threshold count; retrieving the standard search result from the cache; and returning at least a subset of the standard search result.
-
-
12. A system for searching a document database, comprising:
-
a cache for storing search results corresponding to previously processed search queries; a search controller including one or more computer programs containing instructions for; determining whether a cached search result corresponding to a specified search query is stored in the cache; returning a search result corresponding to the search query, including; when the determining returns a negative result, generating a first search result corresponding to the search query in accordance with a first set of predetermined search criteria and returning as the search result at least a subset of the first search result; when the determining returns a positive result; accessing a reuse count of the cached search result and determining a quality of the cached search result;
wherein the cached search result comprises a list of results that satisfy the search query, and the reuse count comprises a number of times that the list of results has been reused to respond to submissions of the search query;when the reuse count is less than or equal to a predetermined threshold count or a quality indication of the cached search result does not meet predefined criteria, returning as the search result at least a subset of the cached search result; and when the reuse count is larger than the predetermined threshold count and the quality indication meets the predefined criteria, generating an improved search result in accordance with a second set of predetermined search criteria using additional search resources, wherein the improved search result comprises an improved list of results that satisfy the search query, returning at least a subset of the improved search result as the search result, updating the cache with the improved search result, and updating the reuse count of the cached search result; and when the reuse count is larger than the predetermined threshold count and the quality indication does not meet the predefined criteria and indicates that the query result stored in the cache is the improved search result corresponding to the search query, retrieving the improved search result from the cache, and returning as the search result at least a subset of the improved search result. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A system for searching a document database, comprising:
-
a cache for storing search results corresponding to previously processed search queries; a search controller including one or more computer programs containing instructions for; determining whether a cached search result corresponding to a specified search query is stored in the cache; returning a search result corresponding to the search query, including; when the determining returns a negative result, generating a first search result corresponding to the search query in accordance with a first set of predetermined search criteria and returning as the search result at least a subset of the first search result; when the determining returns a positive result; accessing a reuse count of the cached search result and determining a quality of the cached search result;
wherein the cached search result comprises a list of results that satisfy the search query, and the reuse count comprises a number of times that the list of results has been reused to respond to submissions of the search query;when the reuse count is less than or equal to a predetermined threshold count or a quality indication of the cached search result does not meet predefined criteria, returning as the search result at least a subset of the cached search result; and when the reuse count is larger than the predetermined threshold count and the quality indication meets the predefined criteria, generating an improved search result in accordance with a second set of predetermined search criteria using additional search resources, wherein the improved search result comprises an improved list of results that satisfy the search query, returning at least a subset of the improved search result as the search result, updating the cache with the improved search result, and updating the reuse count of the cached search result; and when the cache is determined not to have stored therein search results corresponding to the search query; generating a standard search result in accordance with the first set of predetermined search criteria; storing the standard search result in the cache; setting the reuse count of the cached search result to an initial value; and returning at least a subset of the standard search result; and when the determining returns a positive result and the reuse count is less than or equal to the predetermined threshold count, retrieving the standard search result from the cache, and returning at least a subset of the standard search result.
-
Specification