Patent ID: 9128983
Filing Date: 2015-09-08
Classification: G06F

Abstract:
1. A computer-implemented method of querying a database, comprising: receiving, at a server, a query from a client; applying a default query range to the query; executing the query upon the database in a first execution, wherein the query is executed using an index comprising a category of information stored in the database and is executed subject to the default query range; determining if the number of query results from the first execution is outside a predetermined range; when it is determined that the number of query results from the first execution is outside the predetermined range, adjusting the query range to obtain a number of query results closer to or within the predetermined range; executing the query upon the database in a second execution, wherein the query is executed using the index comprising the category of information stored in the database and is executed subject to the adjusted query range; determining whether the query has been executed upon the database a number of times that exceeds a preset threshold; in response determining that the query has been executed upon the database a number of times that exceeds the preset threshold, determining whether to send the query results obtained from the second execution of the query to the client.